Re: [PATCH v3 2/2] f2fs: introduce f2fs_get_section_mtime

From: Chao Yu
Date: Wed Sep 18 2024 - 21:37:00 EST


On 2024/9/18 18:06, liuderong@xxxxxxxx wrote:
From: liuderong <liuderong@xxxxxxxx>

When segs_per_sec is larger than 1, section may contain invalid segments,
mtime should be the average value of each valid blocks,
so introduce f2fs_get_section_mtime to
record the average mtime of all valid blocks in a section.

Signed-off-by: liuderong <liuderong@xxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,