summaryrefslogtreecommitdiff
path: root/arch/xtensa/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-09-23 17:07:30 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2009-12-16 20:16:50 +0300
commitc05c4edd876b7ae92787d1295868afcb89b6a348 (patch)
tree8dc4ce17c0a9be223a70e99d246035fee0a7168e /arch/xtensa/include
parent2cfd30adf6130dab3fbb130eb5f7b1fd42a70e31 (diff)
downloadlinux-c05c4edd876b7ae92787d1295868afcb89b6a348.tar.xz
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>
Diffstat (limited to 'arch/xtensa/include')
0 files changed, 0 insertions, 0 deletions