Re: [f2fs-dev] [PATCH] fsck.f2fs: detect and recover corrupted quota file

2018-09-19 Thread Chao Yu
Hi Sheng, On 2018/9/19 9:48, Sheng Yong wrote: > Hi, Chao > > On 2018/9/19 9:28, Chao Yu wrote: >> Once quota file is corrupted, kernel will set CP_QUOTA_NEED_FSCK_FLAG >> into checkpoint pack, this patch makes fsck supporting to detect the flag >> and try to rebuild corrupted quota file. >> >>

Re: [f2fs-dev] [PATCH] fsck.f2fs: detect and recover corrupted quota file

2018-09-18 Thread Sheng Yong
Hi, Chao On 2018/9/19 9:28, Chao Yu wrote: Once quota file is corrupted, kernel will set CP_QUOTA_NEED_FSCK_FLAG into checkpoint pack, this patch makes fsck supporting to detect the flag and try to rebuild corrupted quota file. Signed-off-by: Chao Yu --- fsck/fsck.c | 3 ++-

Re: [f2fs-dev] [PATCH] fsck.f2fs: detect and recover corrupted quota file

2018-08-29 Thread Chao Yu
Hi Sheng, On 2018/8/29 23:06, Sheng Yong wrote: > Hi, Chao > > On 2018/8/29 20:09, Chao Yu wrote: >> Once quota file is corrupted, kernel will set CP_QUOTA_NEED_FSCK_FLAG >> into checkpoint pack, this patch makes fsck supporting to detect the flag >> and try to rebuild corrupted quota file. >> >

Re: [f2fs-dev] [PATCH] fsck.f2fs: detect and recover corrupted quota file

2018-08-29 Thread Sheng Yong
Hi, Chao On 2018/8/29 20:09, Chao Yu wrote: Once quota file is corrupted, kernel will set CP_QUOTA_NEED_FSCK_FLAG into checkpoint pack, this patch makes fsck supporting to detect the flag and try to rebuild corrupted quota file. Do we need to drop recovery data? Recovery data is never checked