commit | 467f78992a0743e0e71729e4faa20b67b0f25289 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Tue Mar 27 10:34:47 2012 -0400 |
committer | Ben Myers <bpm@sgi.com> | Mon May 14 16:20:17 2012 -0500 |
tree | 2757c82c33b643105a8c0b42a12f61b96d6e2a19 | |
parent | b4d05e3019692fc5a8c573fbce60de2d48c5b7a1 [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>