Skip to content
Commit 36ded4c1 authored by Yonggil Song's avatar Yonggil Song Committed by Jaegeuk Kim
Browse files

f2fs: Fix over-estimating free section during FG GC



There was a bug that finishing FG GC unconditionally because free sections
are over-estimated after checkpoint in FG GC.
This patch initializes sec_freed by every checkpoint in FG GC.

Signed-off-by: default avatarYonggil Song <yonggil.song@samsung.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 04abeb69
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment