block_write_full_page: Use synchronous writes for WBC_SYNC_ALL writebacks
authorTheodore Ts'o <tytso@mit.edu>
Sat, 28 Mar 2009 02:14:10 +0000 (22:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 28 Mar 2009 02:14:10 +0000 (22:14 -0400)
When doing synchronous writes because wbc->sync_mode is set to
WBC_SYNC_ALL, send the write request using WRITE_SYNC, so that we
don't unduly block system calls such as fsync().

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Acked-by: Jan Kara <jack@suse.cz>

No differences found