Re: [f2fs-dev] [PATCH v3] f2fs: add sysfs nodes to get GC info for each GC mode

From: Chao Yu
Date: Sat Jul 10 2021 - 06:42:16 EST

On 2021/7/10 13:53, Daeho Jeong wrote:
From: Daeho Jeong <daehojeong@xxxxxxxxxx>

Added gc_reclaimed_segments and gc_segment_mode sysfs nodes.
1) "gc_reclaimed_segments" shows how many segments have been
reclaimed by GC during a specific GC mode.
2) "gc_segment_mode" is used to control for which gc mode
the "gc_reclaimed_segments" node shows.

Signed-off-by: Daeho Jeong <daehojeong@xxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>