diff options
| author | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-03-28 18:07:38 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-05-21 18:39:57 +0200 |
| commit | 029886f8a4e483e21a2536c97012fef4cca071da (patch) | |
| tree | f0785851d06c8bedf2d4c1d79c762fac94d93a85 /include/linux/extcon | |
| parent | a896223c829b21889069cecd23c3992a0e35d501 (diff) | |
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: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/extcon')
0 files changed, 0 insertions, 0 deletions
