[RFC PATCH v5 0/4] erofs: page cache share feature
Hongzhen Luo
hongzhen at linux.alibaba.com
Mon Jan 6 02:12:04 AEDT 2025
Hi everyone,
The patch in this version has made the following changes compared to
the previous versionv(patch v4):
- adjusted the code style;
- introduced erofs_pcshr_{read,readahead}_{begin,end}() to switch
between anonymous inodes and real inodes;
- cleanup work for erofs_pcshr_fadvise();
- adjusted some variable names, etc.
The experiments were repeated, and the results were almost consistent.
v4: https://lore.kernel.org/all/20240902110620.2202586-1-hongzhen@linux.alibaba.com/
v3: https://lore.kernel.org/all/20240828111959.3677011-1-hongzhen@linux.alibaba.com/
v2: https://lore.kernel.org/all/20240731080704.678259-1-hongzhen@linux.alibaba.com/
v1: https://lore.kernel.org/all/20240722065355.1396365-1-hongzhen@linux.alibaba.com/
Hongzhen Luo (4):
erofs: move `struct erofs_anon_fs_type` to super.c
erofs: introduce the page cache share feature
erofs: apply the page cache share feature
erofs: introduce .fadvise for page cache share
fs/erofs/Kconfig | 10 +
fs/erofs/Makefile | 1 +
fs/erofs/data.c | 15 +-
fs/erofs/fscache.c | 13 --
fs/erofs/inode.c | 5 +-
fs/erofs/internal.h | 9 +
fs/erofs/pagecache_share.c | 430 +++++++++++++++++++++++++++++++++++++
fs/erofs/pagecache_share.h | 39 ++++
fs/erofs/super.c | 42 ++++
fs/erofs/zdata.c | 10 +-
10 files changed, 556 insertions(+), 18 deletions(-)
create mode 100644 fs/erofs/pagecache_share.c
create mode 100644 fs/erofs/pagecache_share.h
--
2.43.5
More information about the Linux-erofs
mailing list