]> Git Repo - linux.git/commit
direct-io: Handle O_(D)SYNC AIO
authorChristoph Hellwig <[email protected]>
Wed, 4 Sep 2013 13:04:40 +0000 (15:04 +0200)
committerAl Viro <[email protected]>
Wed, 4 Sep 2013 13:23:46 +0000 (09:23 -0400)
commit02afc27faec94c9e068517a22acf55400976c698
tree45de9689088ea99e1197c3f20f08cb9835a66410
parent7b7a8665edd8db733980389b098530f9e4f630b2
direct-io: Handle O_(D)SYNC AIO

Call generic_write_sync() from the deferred I/O completion handler if
O_DSYNC is set for a write request.  Also make sure various callers
don't call generic_write_sync if the direct I/O code returns
-EIOCBQUEUED.

Based on an earlier patch from Jan Kara <[email protected]> with updates from
Jeff Moyer <[email protected]> and Darrick J. Wong <[email protected]>.

Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Signed-off-by: Al Viro <[email protected]>
fs/block_dev.c
fs/btrfs/file.c
fs/cifs/file.c
fs/direct-io.c
fs/ext4/file.c
mm/filemap.c
This page took 0.053398 seconds and 4 git commands to generate.