Christoph Hellwig 552ef8024f direct-io: move aio_complete into ->end_io
Filesystems with unwritten extent support must not complete an AIO request
until the transaction to convert the extent has been commited.  That means
the aio_complete calls needs to be moved into the ->end_io callback so
that the filesystem can control when to call it exactly.

This makes a bit of a mess out of dio_complete and the ->end_io callback
prototype even more complicated. 

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz> 
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-07-27 11:56:06 -04:00
..
2009-12-14 23:08:16 -06:00
2009-06-10 17:07:47 +02:00
2010-05-21 18:31:19 -04:00
2009-06-10 17:07:47 +02:00
2010-01-21 13:44:36 -06:00
2009-12-14 23:08:16 -06:00
2009-12-14 23:08:16 -06:00
2010-01-21 13:44:36 -06:00
2009-03-29 09:51:14 +02:00
2009-03-29 09:55:42 +02:00
2008-12-01 11:37:35 +11:00
2008-10-30 17:53:24 +11:00
2009-03-29 09:55:42 +02:00
2010-06-03 16:22:29 +10:00
2010-03-01 16:35:56 -06:00
2009-08-31 14:46:22 -05:00
2010-05-28 14:58:36 -05:00
2009-12-14 23:08:16 -06:00
2009-09-01 12:46:16 -05:00
2009-06-08 15:33:32 +02:00
2010-03-01 16:35:44 -06:00
2009-12-14 23:08:16 -06:00