On 2022/5/7 7:20, Jaegeuk Kim wrote:
In f2fs_gc thread, let's keep wait_ms when sec_freed was zero.
sec_freed won't increase for background GC due to below statement:
if (gc_type == FG_GC &&
get_valid_blocks(sbi, segno, false) == 0)
seg_freed++;
It may cause gc thread migrates lots of segments in each round?
Thanks,
Signed-off-by: Jaegeuk Kim <jaegeuk@xxxxxxxxxx>