Skip to content
Commit a64c8610 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
Acked-by: default avatarJan Kara <jack@suse.cz>
parent 8e0ee43b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment