mbox series

[f2fs-dev,v3,0/2] f2fs: modify the calculation method of mtime

Message ID 1726653980-590956-1-git-send-email-liuderong@oppo.com (mailing list archive)
Headers show
Series f2fs: modify the calculation method of mtime | expand

Message

patchwork-bot+f2fs--- via Linux-f2fs-devel Sept. 18, 2024, 10:06 a.m. UTC
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 blocks,
in order to select correct victim segment,
it needs to modify the calculation method of mtime.

v3:
- add new define INVALID_MTIME and rename new API:f2fs_get_section_mtime

v2:
- modify new API:get_section_mtime

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

 fs/f2fs/f2fs.h    |  5 +++--
 fs/f2fs/gc.c      | 23 +++++++----------------
 fs/f2fs/segment.c | 38 +++++++++++++++++++++++++++++++-------
 fs/f2fs/segment.h |  6 ++++--
 4 files changed, 45 insertions(+), 27 deletions(-)

Comments

patchwork-bot+f2fs--- via Linux-f2fs-devel Oct. 28, 2024, 5:40 p.m. UTC | #1
Hello:

This series was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:

On Wed, 18 Sep 2024 18:06:18 +0800 you wrote:
> 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 blocks,
> in order to select correct victim segment,
> it needs to modify the calculation method of mtime.
> 
> [...]

Here is the summary with links:
  - [f2fs-dev,v3,1/2] f2fs: remove unused parameters
    (no matching commit)
  - [f2fs-dev,v3,2/2] f2fs: introduce f2fs_get_section_mtime
    https://git.kernel.org/jaegeuk/f2fs/c/b19ee7272208

You are awesome, thank you!