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 A0ED1EB64DA for ; Thu, 13 Jul 2023 00:07:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232542AbjGMAHn (ORCPT ); Wed, 12 Jul 2023 20:07:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjGMAHm (ORCPT ); Wed, 12 Jul 2023 20:07:42 -0400 Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BDA41FC9 for ; Wed, 12 Jul 2023 17:07:40 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0VnEWdSj_1689206856; Received: from 192.168.3.2(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VnEWdSj_1689206856) by smtp.aliyun-inc.com; Thu, 13 Jul 2023 08:07:37 +0800 Message-ID: <23174b54-b7c6-866a-8e84-f705fc391b4d@linux.alibaba.com> Date: Thu, 13 Jul 2023 08:07: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 v2] erofs: DEFLATE compression support To: Randy Dunlap , linux-erofs@lists.ozlabs.org Cc: LKML References: <20230712233347.122544-1-hsiangkao@linux.alibaba.com> <20230712234611.4712-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 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