summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGao Xiang <xiang@kernel.org>2026-08-11 17:07:17 +0800
committerGao Xiang <xiang@kernel.org>2026-08-11 19:46:23 +0800
commite587a984d332b76ab89fab546f1594f61f73d5f6 (patch)
tree19eaa1cbcdcba3c94dc96e2ece4fb341035e5309 /tools/perf/scripts/python
parent058884d234889bac5f71f77bc317adf7868a0f6d (diff)
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions