On 2019/9/9 下午11:37, Nikolay Borisov wrote: > > > On 5.09.19 г. 10:58 ч., Qu Wenruo wrote: >> Add new test image for imode repair in subvolume trees. >> >> Also rename the existing test case 039-bad-free-space-cache-inode-mode >> to 039-bad-inode-mode, since now we can fix all bad imode. >> >> And add the beacon file for lowmem test. >> > > What kind of corruption does the image have? Just bad imode, all 0. > Ideally it should have > cases where both DIR_ITEM and DIR_INDEX is used. As well as DIR_ITEM > containing collisions. Yes, that's the best case, but in that case, we will have more failure modes, e.g. we need to repair that missing DIR_ITEM before we use DIR_INDEX to regenerate the filetype. So I'm just sticking to one test image for one corruption. Thanks, Qu > > <split> >
