]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commita64c8610bd3b753c6aff58f51c04cdf0ae478c18
treeca9ec4d9ca3d7195521a4004c6a599a35faafe5e
parent8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84
block_write_full_page: Use synchronous writes for WBC_SYNC_ALL writebacks

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>
fs/buffer.c