Re: [f2fs-dev] [RFC PATCH v2] fsck.f2fs: rebuild qf_ino if quota node is unreachable

2018-07-27 Thread Chao Yu
On 2018/7/26 20:35, Sheng Yong wrote: > If a quota node is corrupted, it may be unreachable. But its qf_ino in > super blocks is not cleared. To keep quota feature available, let's try > to rebuild a new quota node. > > Disk quota entries are written back according to data recorded in > the dict.

[f2fs-dev] [RFC PATCH v2] fsck.f2fs: rebuild qf_ino if quota node is unreachable

2018-07-26 Thread Sheng Yong
If a quota node is corrupted, it may be unreachable. But its qf_ino in super blocks is not cleared. To keep quota feature available, let's try to rebuild a new quota node. Disk quota entries are written back according to data recorded in the dict. quota_write_inode() will help to rebuild all