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 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel