Messages in this thread | | | Subject | Re: [PATCH v2] f2fs: fix count of seg_freed to make sec_freed correct | From | Chao Yu <> | Date | Wed, 24 Oct 2018 17:31:33 +0800 |
| |
On 2018/10/24 16:08, Yunlong Song wrote: > When sbi->segs_per_sec > 1, and if some segno has 0 valid blocks before > gc starts, do_garbage_collect will skip counting seg_freed++, and this > will cause seg_freed < sbi->segs_per_sec and finally skip sec_freed++. > > Signed-off-by: Yunlong Song <yunlong.song@huawei.com> > Signed-off-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Thanks,
| |