[PATCH] erofs-utils: mkfs: get rid of outdated subpage compression warning

Gao Xiang hsiangkao at linux.alibaba.com
Thu Sep 19 20:55:19 AEST 2024


It has been supported since Linux 6.8.

Signed-off-by: Gao Xiang <hsiangkao at linux.alibaba.com>
---
 mkfs/main.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/mkfs/main.c b/mkfs/main.c
index 7e2e184..8f1fdbc 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -965,11 +965,6 @@ static int mkfs_parse_options_cfg(int argc, char *argv[])
 		cfg.c_showprogress = false;
 	}
 
-	if (cfg.c_compr_opts[0].alg && erofs_blksiz(&g_sbi) != getpagesize())
-		erofs_warn("Please note that subpage blocksize with compression isn't yet supported in kernel. "
-			   "This compressed image will only work with bs = ps = %u bytes",
-			   erofs_blksiz(&g_sbi));
-
 	if (pclustersize_max) {
 		if (pclustersize_max < erofs_blksiz(&g_sbi) ||
 		    pclustersize_max % erofs_blksiz(&g_sbi)) {
-- 
2.43.5



More information about the Linux-erofs mailing list