Re: [PATCH 0/2 v9] reclaim file-backed pages given POSIX_FADV_NOREUSE
From: Christoph Hellwig
Date: Tue Feb 18 2025 - 03:29:34 EST
This still has a file system sysfs HACK, you're still not Ccing the
right list, etc.
Can you pleae at least try to get it right?
On Wed, Feb 12, 2025 at 02:31:55AM +0000, Jaegeuk Kim wrote:
> 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(-)
>
> --
> 2.48.1.601.g30ceb7b040-goog
>
>
---end quoted text---