From: Hongzhen Luo <hongzhen@linux.alibaba.com>
To: linux-erofs@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org, Hongzhen Luo <hongzhen@linux.alibaba.com>
Subject: [RFC PATCH v5 0/4] erofs: page cache share feature
Date: Sun, 5 Jan 2025 23:12:04 +0800 [thread overview]
Message-ID: <20250105151208.3797385-1-hongzhen@linux.alibaba.com> (raw)
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
next reply other threads:[~2025-01-05 15:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-05 15:12 Hongzhen Luo [this message]
2025-01-05 15:12 ` [RFC PATCH v5 1/4] erofs: move `struct erofs_anon_fs_type` to super.c Hongzhen Luo
2025-01-05 15:12 ` [RFC PATCH v5 2/4] erofs: introduce the page cache share feature Hongzhen Luo
2025-01-06 2:27 ` Gao Xiang
2025-01-06 3:03 ` Hongzhen Luo
2025-01-05 15:12 ` [RFC PATCH v5 3/4] erofs: apply " Hongzhen Luo
2025-01-06 2:15 ` Gao Xiang
2025-01-21 11:59 ` Hongbo Li
2025-01-21 12:16 ` Gao Xiang
2025-01-21 14:48 ` Hongzhen Luo
2025-01-05 15:12 ` [RFC PATCH v5 4/4] erofs: introduce .fadvise for page cache share Hongzhen Luo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250105151208.3797385-1-hongzhen@linux.alibaba.com \
--to=hongzhen@linux.alibaba.com \
--cc=linux-erofs@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox