Skip to content

reclaim file-backed pages given POSIX_FADV_NOREUSE

Jaegeuk Kim linux-api linux-f2fs-devel linux-fsdevel linux-mm lkml 1 version Applied

Status from this message: This series was applied to jaegeuk/f2fs.git (dev)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v9 Latest2 patches 4 repliesApplied 2/2

Changes in v9 from the cover letter

- remove new APIs, but use fadvise(POSIX_FADV_NOREUSE)

Patches in v9 All 2 applied

#Subject and filesSizeRepliesApplied
1/2f2fs: keep POSIX_FADV_NOREUSE rangesfs/f2fs/debug.c fs/f2fs/f2fs.h fs/f2fs/file.c +2 more+84 -61 replyApplied
2/2f2fs: add a sysfs entry to reclaim POSIX_FADV_NOREUSE pagesDocumentation/ABI/testing/sysfs-fs-f2fs fs/f2fs/f2fs.h fs/f2fs/shrinker.c +1 more+162 -01 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChao Yu
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [PATCH 0/2 v9] reclaim file-backed pages given POSIX_FADV_NOREUSE

This patch series does not add new API, but implements POSIX_FADV_NOREUSE where it keeps the page ranges in the f2fs superblock and add a way for users to reclaim the pages manually.

Change log from v8:
- remove new APIs, but use fadvise(POSIX_FADV_NOREUSE)

Jaegeuk Kim (2):
f2fs: keep POSIX_FADV_NOREUSE ranges
f2fs: add a sysfs entry to reclaim POSIX_FADV_NOREUSE pages

 Documentation/ABI/testing/sysfs-fs-f2fs |  7 ++
 fs/f2fs/debug.c                         |  3 +
 fs/f2fs/f2fs.h                          | 14 +++-
 fs/f2fs/file.c                          | 60 +++++++++++++++--
 fs/f2fs/inode.c                         | 14 ++++
 fs/f2fs/shrinker.c                      | 90 +++++++++++++++++++++++++
 fs/f2fs/super.c                         |  1 +
 fs/f2fs/sysfs.c                         | 63 +++++++++++++++++
 8 files changed, 246 insertions(+), 6 deletions(-)
Signature · 1 line
2.48.1.601.g30ceb7b040-goog