[PATCH 3/3] erofs-utils: mark 48bit and metabox as EXPERIMENTAL

Gao Xiang hsiangkao at linux.alibaba.com
Wed Feb 18 17:42:52 AEDT 2026


Keep in sync with the latest 7.0-rc kernel.

Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
---
 lib/super.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/super.c b/lib/super.c
index 40fc6554337b..088c9a01fc2f 100644
--- a/lib/super.c
+++ b/lib/super.c
@@ -169,6 +169,12 @@ int erofs_read_superblock(struct erofs_sb_info *sbi)
 		sbi->devs = NULL;
 	}
 	sbi->sb_valid = !ret;
+	if (erofs_sb_has_48bit(sbi))
+		erofs_info("EXPERIMENTAL 48-bit layout support in use. Use at your own risk!");
+	if (erofs_sb_has_metabox(sbi)) {
+		erofs_info("EXPERIMENTAL metadata compression support in use. Use at your own risk!");
+		erofs_info("No in-memory cache for metadata compression: userspace parser for metabox remains slow.");
+	}
 	return ret;
 }
 
-- 
2.43.5



More information about the Linux-erofs mailing list