summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChao Yu <chao@kernel.org>2026-09-17 15:33:36 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2026-09-18 01:33:35 +0000
commit7a1cf2a76b7105dc7be69ea3b22e22dada562809 (patch)
tree2ad9b5bf7b81460acf5c5bd08f0316f2dd34dd57 /include/linux
parentf45afeabd5df47e61e9b77c65d7ce0bf45c75515 (diff)
downloadlinux-next-7a1cf2a76b7105dc7be69ea3b22e22dada562809.tar.gz
linux-next-7a1cf2a76b7105dc7be69ea3b22e22dada562809.zip
f2fs: cache: use meta cache
This patch migrates F2FS meta block caching from the fake VFS inode page cache (sbi->meta_inode) to meta cache (sbi->meta_blocks). It converts CP, SIT, NAT, SSA, recovery, and GC metadata I/O paths to operate on struct f2fs_cached_block instead of folio, and removes sbi->meta_inode. Reviewed-by: Zhiguo Niu <zhiguo.niu@unisoc.com> Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/f2fs_fs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index f38558279e86..c325904f461e 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -44,7 +44,6 @@
#define F2FS_ROOT_INO(sbi) ((sbi)->root_ino_num)
#define F2FS_NODE_INO(sbi) ((sbi)->node_ino_num)
-#define F2FS_META_INO(sbi) ((sbi)->meta_ino_num)
#define F2FS_COMPRESS_INO(sbi) (NM_I(sbi)->max_nid)
#define F2FS_MAX_QUOTAS 3