Skip to content
Commit 687de7f1 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: avoid IO split due to mixed WB_SYNC_ALL and WB_SYNC_NONE



If two threads try to flush dirty pages in different inodes respectively,
f2fs_write_data_pages() will produce WRITE and WRITE_SYNC one at a time,
resulting in a lot of 4KB seperated IOs.

So, this patch gives higher priority to WB_SYNC_ALL IOs and gathers write
IOs with a big WRITE_SYNC'ed bio.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent ef095d19
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