UPSTREAM: f2fs: introduce f2fs_get_section_mtime
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. Change-Id: I93934935ea73f1095dcf550760d6f804cbe005c4 Signed-off-by:liuderong <liuderong@oppo.com> Reviewed-by:
Chao Yu <chao@kernel.org> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> (cherry picked from commit b19ee727)
Loading
Please sign in to comment