f2fs: enhance IO path with block plug
authorChao Yu <chao2.yu@samsung.com>
Sun, 14 Feb 2016 10:54:33 +0000 (18:54 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 05:39:54 +0000 (21:39 -0800)
commite9f5b8b8d6e279ab61d5902fcbebf3799597c900
treec393dc434bf51e7cb013f005960b56034ba1a8ea
parentdfc08a12e49a64f97d8b474da1d7745230cec5eb
f2fs: enhance IO path with block plug

Try to use block plug in more place as below to let process cache bios
as much as possbile, in order to reduce lock overhead of queue in IO
scheduler.
1) sync_meta_pages
2) ra_meta_pages
3) f2fs_balance_fs_bg

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/segment.c