Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp483431rwp; Wed, 12 Jul 2023 17:07:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlESWLBBLC0nD42mS+SV5hcXn1okQzIOzSivx1mL7og41LTmSjI7iirw3mDL2GJaUirzgXJ8 X-Received: by 2002:a17:906:8315:b0:992:6d62:42e1 with SMTP id j21-20020a170906831500b009926d6242e1mr20184165ejx.29.1689206872196; Wed, 12 Jul 2023 17:07:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689206872; cv=none; d=google.com; s=arc-20160816; b=cj0OAznaWTjAISzJZ4yRatbim07NsmPgNaYghGD4c+LCVKqnKOUMJybGkwsheK62si eXeBBT17W9Os508HNPpBdetPxOlSBoNYXk8UQsn4k0Wckfou2xnOUuX59x2HMZkl1GPt PBDc8kbSe+md4/DiY1oLQxpg5Mn7V4/hth62lLcS0LMl4lpoXjC94w6N1FRoRSjI2Gu2 ccmDWAkXFQEcqiLv1rfjmiYKtkG93oFlFG+QvitOiCPH5F0+I0cnGyoNMyPXzDiki4tG CXABwkJEVmwxw69So7ADmG/p0LGYVueHzSavQrS18FwtDKoNkkCIcMCMmuJCSXYv+V/8 15/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=L9tpokstGVrz15ke9uYakgX1lrcBxGQZF3ESE7tsLVc=; fh=XfAaXWyqlSOG6tOPQVawiIJkkXy5wO0VszoNu8SSp68=; b=WBF1Ug1IhV7wZHG1hTKZ8Dxyfuvi8R5+KOLifr2zbuaEJ2nVaFy67xiR1/ltbUpbWm N8GNFwKHnevKwY1MMDRnJ5VclwWruNnjRc4Sbqeg6s/nAts1LfjoFZZ+tui0cmnJ3LXu Wgo0XWz8QXArrcQCOUtC4N8qQhRH2ikGzi+xEyY6ZdpxIoXVR/ZFPlLyToCdM4+DXafP KCBePnLz2Mcxe5uqK5XgrwD+yIEL1m7WDVy8FubhGwqzPT1TgHcRhRlBgbNHJ0smRQFj 24JOnW6MfV9MpSIOcLDfny4U4aXq8bxH0eqmXL7k5CCB6GYFuL4PvI0c/PCoBOjIee3P qvoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="wX/onM/q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg18-20020a170906f89200b0099364d9f0e5si318778ejb.485.2023.07.12.17.07.27; Wed, 12 Jul 2023 17:07:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="wX/onM/q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233391AbjGLXqy (ORCPT + 99 others); Wed, 12 Jul 2023 19:46:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230399AbjGLXql (ORCPT ); Wed, 12 Jul 2023 19:46:41 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0772210C for ; Wed, 12 Jul 2023 16:46:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=L9tpokstGVrz15ke9uYakgX1lrcBxGQZF3ESE7tsLVc=; b=wX/onM/q/YJk+q9YGE7Jd26ImD PYh1ZhkbW5P8BaRgEDUo45GtGZqijTJLoFBd0nNxCdExNd/rwml69azHcesqEZjfvisV4zVU/3VDI E2lfuCnbUvcAw0ZrwLBMs8MtCU5ESdWzVUXz2F3oQOvEel0KxL+6T6ZWUqoS1LW/s7xx1oL7t3xoC YFk8nK1CvD7VZUXaa3Fr62inMVojAXbWxryNZoCkwNYRBb4nZ7waX1q+qxI5sJS3hEFapR8abl4PR 5GAlm58GghKP7nccRd53OkfJjRarsaLWnGv+pYRl3t04d36f3Wnjfbfm1yruxUe58ekLfqlKxPFZt YKLc2gig==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qJjXN-001Vzs-33; Wed, 12 Jul 2023 23:46:25 +0000 Message-ID: Date: Wed, 12 Jul 2023 16:46:25 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH RESEND] erofs: DEFLATE compression support Content-Language: en-US To: Gao Xiang , linux-erofs@lists.ozlabs.org Cc: LKML References: <20230712233026.118706-1-hsiangkao@linux.alibaba.com> <20230712233347.122544-1-hsiangkao@linux.alibaba.com> From: Randy Dunlap In-Reply-To: <20230712233347.122544-1-hsiangkao@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > + overhead. > + > + DEFLATE support is an experimental feature for now and so most > + file systems will be readable without selecting this option. > + > + If unsure, say N. -- ~Randy