Re: [f2fs-dev] [PATCH 1/2] sload.f2fs: update sit entries of cursegs

2018-06-19 Thread Chao Yu
On 2018/6/13 9:51, Sheng Yong wrote: > move_curseg_info->reset_curseg changes cursegs, however, new segment > entries are not set as dirty. As a result, flush_sit_entries will not > update entries in SIT, especially when an empty segment is selected > as the new curseg, its seg_entry->type is lost.

[f2fs-dev] [PATCH 1/2] sload.f2fs: update sit entries of cursegs

2018-06-12 Thread Sheng Yong
move_curseg_info->reset_curseg changes cursegs, however, new segment entries are not set as dirty. As a result, flush_sit_entries will not update entries in SIT, especially when an empty segment is selected as the new curseg, its seg_entry->type is lost. Signed-off-by: Sheng Yong --- fsck/mount.