• J
    xfs: Convert to new freezing code · d9457dc0
    Jan Kara 提交于
    Generic code now blocks all writers from standard write paths. So we add
    blocking of all writers coming from ioctl (we get a protection of ioctl against
    racing remount read-only as a bonus) and convert xfs_file_aio_write() to a
    non-racy freeze protection. We also keep freeze protection on transaction
    start to block internal filesystem writes such as removal of preallocated
    blocks.
    
    CC: Ben Myers <bpm@sgi.com>
    CC: Alex Elder <elder@kernel.org>
    CC: xfs@oss.sgi.com
    Signed-off-by: NJan Kara <jack@suse.cz>
    Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
    d9457dc0
xfs_trans.c 44.9 KB