Christoph Hellwig c05c4edd87 direct I/O fallback sync simplification
In the case of direct I/O falling back to buffered I/O we sync data
twice currently: once at the end of generic_file_buffered_write using
filemap_write_and_wait_range and once a little later in
__generic_file_aio_write using do_sync_mapping_range with all flags set.

The wait before write of the do_sync_mapping_range call does not make
any sense, so just keep the filemap_write_and_wait_range call and move
it to the right spot.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2009-12-16 12:16:50 -05:00
..
2009-12-03 13:49:43 +01:00
2009-04-01 08:59:13 -07:00
2009-06-16 19:47:28 -07:00
2009-12-15 08:53:20 -08:00
2009-12-15 08:53:17 -08:00
2009-12-15 08:53:19 -08:00
2009-09-22 07:17:35 -07:00
2009-12-15 08:53:17 -08:00
2009-12-15 08:53:16 -08:00
2007-10-20 01:27:18 +02:00
2009-12-15 08:53:20 -08:00
2009-12-16 12:16:49 -05:00
2009-12-15 08:53:19 -08:00
2009-06-23 12:50:05 -07:00
2009-12-15 08:53:21 -08:00