Re: [f2fs-dev] [PATCH v2] f2fs: cleanup dirty pages if recover failed

2018-10-16 Thread Chao Yu
On 2018/10/12 18:49, Sheng Yong wrote: > During recover, we will try to create new dentries for inodes with > dentry_mark. But if the parent is missing (e.g. killed by fsck), > recover will break. But those recovered dirty pages are not cleanup. > This will hit f2fs_bug_on: > > [ 53.519566]

[f2fs-dev] [PATCH v2] f2fs: cleanup dirty pages if recover failed

2018-10-12 Thread Sheng Yong
During recover, we will try to create new dentries for inodes with dentry_mark. But if the parent is missing (e.g. killed by fsck), recover will break. But those recovered dirty pages are not cleanup. This will hit f2fs_bug_on: [ 53.519566] F2FS-fs (loop0): Found nat_bits in checkpoint [