]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 1 Sep 2011 15:50:24 +0000 (10:50 -0500)
commita826361aa4afca6ee735e73f4f0c63c4c8439c51
tree2523d296d0d92d268c81eca8a80ebf845fbd2998
parent4e95434b5bb70f62fcdf11b98ef4aa5ff0ee1a24
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