]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: defer AIO/DIO completions
authorChristoph Hellwig <hch@infradead.org>
Tue, 23 Aug 2011 08:28:10 +0000 (08:28 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 12 Oct 2011 02:15:00 +0000 (21:15 -0500)
commit4b94d07129630208097017d34456c738492a94ee
tree0d5c5d22d1d10a346da81990a3c94bfabfd03904
parent430631fdd4946b2b7073186067fe0efab2f72a7c
xfs: defer AIO/DIO completions

We really shouldn't complete AIO or DIO requests until we have finished
the unwritten extent conversion and size update.  This means fsync never
has to pick up any ioends as all work has been completed when signalling
I/O completion.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_aops.h