summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iops.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-03-27 10:34:47 -0400
committerBen Myers <bpm@sgi.com>2012-05-14 16:20:17 -0500
commit467f78992a0743e0e71729e4faa20b67b0f25289 (patch)
tree2757c82c33b643105a8c0b42a12f61b96d6e2a19 /fs/xfs/xfs_iops.c
parentb4d05e3019692fc5a8c573fbce60de2d48c5b7a1 (diff)
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