OSDN Git Service

f2fs: fix to account preflush command for noflush_merge mode
authorChao Yu <yuchao0@huawei.com>
Wed, 24 Oct 2018 09:24:10 +0000 (17:24 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 26 Nov 2018 23:53:55 +0000 (15:53 -0800)
commita8075dc484cf10ebdb07bee2b17322fb0a846309
tree17d8bb04662e5cbcdf87d3b3c3db1789b7d5eaa7
parent9bf1a3f73927492c8be127b642197125e9d52be8
f2fs: fix to account preflush command for noflush_merge mode

Previously, we only account preflush command for flush_merge mode,
so for noflush_merge mode, we can not know in-flight preflush
command count, fix it.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c