diff options
| author | Gao Xiang <xiang@kernel.org> | 2026-08-11 17:07:17 +0800 |
|---|---|---|
| committer | Gao Xiang <xiang@kernel.org> | 2026-08-11 19:46:23 +0800 |
| commit | e587a984d332b76ab89fab546f1594f61f73d5f6 (patch) | |
| tree | 19eaa1cbcdcba3c94dc96e2ece4fb341035e5309 /scripts/Makefile.thinlto | |
| parent | 058884d234889bac5f71f77bc317adf7868a0f6d (diff) | |
| download | linux-stable-e587a984d332b76ab89fab546f1594f61f73d5f6.tar.gz linux-stable-e587a984d332b76ab89fab546f1594f61f73d5f6.zip | |
erofs: use dedicated meta inodes for file-backed mounts
Currently, metadata access for file-backed mounts reuses the page cache
of backing inodes directly.
Switch to per-sb dedicated pseudo inodes ("managed cache") for metadata
access on file-backed mounts (although I still don't think it is
necessary due to the EROFS immutable model). As the result, metadata
cache won't use the page cache of backing inodes anymore.
The "managed cache" was originally used to cache physical compressed
data according to the current cache strategy and I/O patterns; since
file-backed mounts also need to access physical data for metadata
access, it's natural to reuse the managed cache for this too, providing
a unique inode for all physical data access.
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <xiang@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
