f2fs: clean up checkpoint flow
commit8ec18bff7b90b56eba5986555c174721ebd5670b
authorChao Yu <yuchao0@huawei.com>
Wed, 12 Dec 2018 10:12:32 +0000 (12 18:12 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 26 Dec 2018 23:16:54 +0000 (26 15:16 -0800)
tree2c04f24ffb16ea81d5daae989d78652b9fce4cf8
parent76c7bfb3a89371aa87bda99c8ee2611ff5150434
f2fs: clean up checkpoint flow

This patch cleans up checkpoint flow a bit:
- remove unneeded circulation of flushing meta pages.
- don't flush nat_bits pages in prior to other checkpoint pages.
- add bug_on to check remained meta pages after flushing.

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