Re: [PATCH v2] erofs: DEFLATE compression support

From: Gao Xiang
Date: Wed Jul 12 2023 - 20:07:44 EST


Hi Randy,

On 2023/7/13 08:01, Randy Dunlap wrote:


On 7/12/23 16:46, Gao Xiang wrote:
diff --git a/fs/erofs/Kconfig b/fs/erofs/Kconfig
index f259d92c9720..d7b5327215f0 100644
--- a/fs/erofs/Kconfig
+++ b/fs/erofs/Kconfig
@@ -99,6 +99,21 @@ config EROFS_FS_ZIP_LZMA
If unsure, say N.
+config EROFS_FS_ZIP_DEFLATE
+ bool "EROFS DEFLATE compressed data support"
+ depends on EROFS_FS_ZIP
+ select ZLIB_INFLATE
+ help
+ Saying Y here includes support for reading EROFS file systems
+ containing DEFLATE compressed data. It gives better compression
+ ratios than the default LZ4 format, whileas it costs more CPU

not a word: whileas

After v2 is sent, I saw your comment then.
Okay, anyway, let me send v3 now.

Thanks,
Gao Xiang