Commit d78a4c8d authored by liuderong's avatar liuderong Committed by Treehugger Robot
Browse files

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: default avatarliuderong <liuderong@oppo.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit b19ee727)
parent 8b48c997
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment