diff options
author | Jan Kara <jack@suse.cz> | 2017-05-02 13:16:18 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-05-24 13:35:20 +0200 |
commit | d8747d642ec4ce96adf17ae35652a5e4015cfe02 (patch) | |
tree | 646b9b91ec05b4b6e411bf2b428ea9fe2c371d03 /fs/hfsplus/extents.c | |
parent | gfs2: Make flush bios explicitely sync (diff) | |
download | linux-d8747d642ec4ce96adf17ae35652a5e4015cfe02.tar.xz linux-d8747d642ec4ce96adf17ae35652a5e4015cfe02.zip |
reiserfs: Make flush bios explicitely sync
Commit b685d3d65ac7 "block: treat REQ_FUA and REQ_PREFLUSH as
synchronous" removed REQ_SYNC flag from WRITE_{FUA|PREFLUSH|...}
definitions. generic_make_request_checks() however strips REQ_FUA and
REQ_PREFLUSH flags from a bio when the storage doesn't report volatile
write cache and thus write effectively becomes asynchronous which can
lead to performance regressions
Fix the problem by making sure all bios which are synchronous are
properly marked with REQ_SYNC.
Fixes: b685d3d65ac791406e0dfd8779cc9b3707fea5a3
CC: reiserfs-devel@vger.kernel.org
CC: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/hfsplus/extents.c')
0 files changed, 0 insertions, 0 deletions