[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1726123214-208356-1-git-send-email-liuderong@oppo.com>
Date: Thu, 12 Sep 2024 14:40:12 +0800
From: <liuderong@...o.com>
To: <jaegeuk@...nel.org>, <chao@...nel.org>
CC: <linux-f2fs-devel@...ts.sourceforge.net>, <linux-kernel@...r.kernel.org>,
liuderong <liuderong@...o.com>
Subject: [PATCH v2 0/2] f2fs: modify the calculation method of mtime
From: liuderong <liuderong@...o.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
Powered by blists - more mailing lists