summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorDave Chinner2015-02-23 11:46:58 +0100
committerDave Chinner2015-02-23 11:46:58 +0100
commit0f9160b444e4de33b65dfcd3b901358a3129461a (patch)
tree60b861d303238aa3ec033992a66804bc4bfaa6db /arch/xtensa
parentxfs: take i_mmap_lock on extent manipulation operations (diff)
downloadkernel-qcow2-linux-0f9160b444e4de33b65dfcd3b901358a3129461a.tar.gz
kernel-qcow2-linux-0f9160b444e4de33b65dfcd3b901358a3129461a.tar.xz
kernel-qcow2-linux-0f9160b444e4de33b65dfcd3b901358a3129461a.zip
xfs: xfs_setattr_size no longer races with page faults
Now that truncate locks out new page faults, we no longer need to do special writeback hacks in truncate to work around potential races between page faults, page cache truncation and file size updates to ensure we get write page faults for extending truncates on sub-page block size filesystems. Hence we can remove the code in xfs_setattr_size() that handles this and update the comments around the code tha thandles page cache truncate and size updates to reflect the new reality. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions