[PATCH v2 0/2] f2fs: modify the calculation method of mtime

liuderong@oppo.com posted 2 patches 3 weeks, 3 days ago
There is a newer version of this series
fs/f2fs/f2fs.h    |  5 +++--
fs/f2fs/gc.c      | 21 +++++----------------
fs/f2fs/segment.c | 44 +++++++++++++++++++++++++++++++++++++-------
fs/f2fs/segment.h |  4 ++--
4 files changed, 47 insertions(+), 27 deletions(-)
[PATCH v2 0/2] f2fs: modify the calculation method of mtime
Posted by liuderong@oppo.com 3 weeks, 3 days ago
From: liuderong <liuderong@oppo.com>

In cost-benefit GC algorithm, mtime will affect
the selection of victim segment.For a large section,
mtime should be the mean value of valid segments,
in order to select correct victim segment,
it needs to modify the calculation method of mtime.

v2:
- modify new API:get_section_mtime

liuderong (2):
  f2fs: remove unused parameters
  f2fs: introduce get_section_mtime

 fs/f2fs/f2fs.h    |  5 +++--
 fs/f2fs/gc.c      | 21 +++++----------------
 fs/f2fs/segment.c | 44 +++++++++++++++++++++++++++++++++++++-------
 fs/f2fs/segment.h |  4 ++--
 4 files changed, 47 insertions(+), 27 deletions(-)

-- 
2.7.4