summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iops.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-03-27 16:34:47 +0200
committerBen Myers <bpm@sgi.com>2012-05-14 23:20:17 +0200
commit467f78992a0743e0e71729e4faa20b67b0f25289 (patch)
tree2757c82c33b643105a8c0b42a12f61b96d6e2a19 /fs/xfs/xfs_iops.c
parentxfs: avoid taking the ilock unnessecarily in xfs_qm_dqattach (diff)
downloadlinux-467f78992a0743e0e71729e4faa20b67b0f25289.tar.xz
linux-467f78992a0743e0e71729e4faa20b67b0f25289.zip
xfs: reduce ilock hold times in xfs_file_aio_write_checks
We do not need the ilock for generic_write_checks and the i_size_read, which are protected by i_mutex and/or iolock, so reduce the ilock critical section to just the call to xfs_zero_eof. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_iops.c')
0 files changed, 0 insertions, 0 deletions