kernel_optimize_test/fs/f2fs
Jan Kara 3adc5fcb7e f2fs: Make flush bios explicitely sync
Commit b685d3d65a "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: b685d3d65a
Cc: stable@vger.kernel.org # 4.9+
CC: Jaegeuk Kim <jaegeuk@kernel.org>
CC: linux-f2fs-devel@lists.sourceforge.net
Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2017-05-03 14:30:18 -07:00
..
acl.c
acl.h
checkpoint.c f2fs: introduce CP_TRIMMED_FLAG to avoid unneeded discard 2017-05-03 10:04:56 -07:00
data.c f2fs: Make flush bios explicitely sync 2017-05-03 14:30:18 -07:00
debug.c f2fs: show available_nids in f2fs/status 2017-05-03 10:04:57 -07:00
dir.c f2fs: fix multiple f2fs_add_link() having same name for inline dentry 2017-04-25 14:16:31 -07:00
extent_cache.c f2fs: introduce __check_rb_tree_consistence 2017-04-19 11:00:44 -07:00
f2fs.h f2fs: show available_nids in f2fs/status 2017-05-03 10:04:57 -07:00
file.c f2fs: reconstruct code to write a data page 2017-05-02 21:19:46 -07:00
gc.c f2fs: release cp and dnode lock before IPU 2017-05-03 10:04:54 -07:00
gc.h
hash.c
inline.c f2fs: split make_dentry_ptr() into block and inline versions 2017-04-05 11:05:08 -07:00
inode.c f2fs: fix out-of free segments 2017-04-24 13:13:23 -07:00
Kconfig
Makefile
namei.c f2fs: fix fs corruption due to zero inode page 2017-04-12 12:57:06 -07:00
node.c f2fs: seperate read nat page from nat_tree_lock 2017-04-25 14:16:39 -07:00
node.h f2fs: guard macro variables with braces 2017-04-10 19:48:10 -07:00
recovery.c f2fs: avoid dirty node pages in check_only recovery 2017-04-18 13:37:49 -07:00
segment.c f2fs: Make flush bios explicitely sync 2017-05-03 14:30:18 -07:00
segment.h f2fs: reconstruct code to write a data page 2017-05-02 21:19:46 -07:00
shrinker.c
super.c f2fs: Make flush bios explicitely sync 2017-05-03 14:30:18 -07:00
trace.c f2fs: use set_page_private marcro in f2fs_trace_pid 2017-03-24 15:10:49 -04:00
trace.h
xattr.c f2fs: don't reserve additional space in xattr block 2017-03-24 15:10:53 -04:00
xattr.h f2fs: guard macro variables with braces 2017-04-10 19:48:10 -07:00