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>

authored by Chao Yu and committed by Jaegeuk Kim a8075dc4 9bf1a3f7

Changed files
+2
fs
f2fs
+2
fs/f2fs/segment.c
··· 620 return 0; 621 622 if (!test_opt(sbi, FLUSH_MERGE)) { 623 ret = submit_flush_wait(sbi, ino); 624 atomic_inc(&fcc->issued_flush); 625 return ret; 626 }
··· 620 return 0; 621 622 if (!test_opt(sbi, FLUSH_MERGE)) { 623 + atomic_inc(&fcc->issing_flush); 624 ret = submit_flush_wait(sbi, ino); 625 + atomic_dec(&fcc->issing_flush); 626 atomic_inc(&fcc->issued_flush); 627 return ret; 628 }