From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79CD5EB64DA for ; Wed, 12 Jul 2023 23:56:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233024AbjGLX4n (ORCPT ); Wed, 12 Jul 2023 19:56:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232125AbjGLX4l (ORCPT ); Wed, 12 Jul 2023 19:56:41 -0400 Received: from out30-100.freemail.mail.aliyun.com (out30-100.freemail.mail.aliyun.com [115.124.30.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45EDA1BF2 for ; Wed, 12 Jul 2023 16:56:40 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0VnEWYjT_1689206197; Received: from 192.168.3.2(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VnEWYjT_1689206197) by smtp.aliyun-inc.com; Thu, 13 Jul 2023 07:56:37 +0800 Message-ID: Date: Thu, 13 Jul 2023 07:56:36 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH RESEND] erofs: DEFLATE compression support To: Randy Dunlap , linux-erofs@lists.ozlabs.org Cc: LKML References: <20230712233026.118706-1-hsiangkao@linux.alibaba.com> <20230712233347.122544-1-hsiangkao@linux.alibaba.com> From: Gao Xiang In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Randy, On 2023/7/13 07:46, Randy Dunlap wrote: > Hi-- > > On 7/12/23 16:33, 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 > > while > or although > or but Thanks for pointing out, let me fix in the next version! Thanks, Gao Xiang