Re: [f2fs-dev] [RFC PATCH v2 7/7] fsck.f2fs: reconnect unreachable files to lost+found

2018-02-27 Thread Jaegeuk Kim
On 02/26, Sheng Yong wrote: > Hi, Chao > > On 2018/2/26 16:23, Chao Yu wrote: > > On 2018/2/23 11:18, Sheng Yong wrote: > > > This patch introduces lost_found feature to fsck. If a file is found > > > unreachable by fsck. Fsck tries to reconnect the file to lost+found > > > directory: > > >1.

[f2fs-dev] [RFC PATCH v2 7/7] fsck.f2fs: reconnect unreachable files to lost+found

2018-02-22 Thread Sheng Yong
This patch introduces lost_found feature to fsck. If a file is found unreachable by fsck. Fsck tries to reconnect the file to lost+found directory: 1. Scan all unreachable file inodes, ignore non-inodes ones and directories. 2. Check them and fix incorrupted data to make sure filesystem