Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp494308rwp; Wed, 12 Jul 2023 17:20:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlG0bf1XYXymBojHcK5pZ4sx3MJlKtsDDwr4EBpR6GIEoQ9zBmBk7Mbf1s4/3wMFqh+e3IRg X-Received: by 2002:a17:902:e5c2:b0:1b6:6a14:3734 with SMTP id u2-20020a170902e5c200b001b66a143734mr283899plf.29.1689207617870; Wed, 12 Jul 2023 17:20:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689207617; cv=none; d=google.com; s=arc-20160816; b=xoHLtRCBKxAzcd9jOyegx2dy0aMHDYzSCZVbUMMQgl68n8xfls2Bo30X56IN3o3uoe p6YHXoWXS1EH9hegM62OyRdfnIQG19/MqbQLxrO4+EhOXQxNtJJwP21eINS07gflIqUd QE+HKJKEfdN/gtCSFmJSFRlqxidxionKHY7GJiJPbaS2qVDEVr0YNQJU1+Kl2zdVIwap JnuMNrp+umCXwWa6Rxq9G+rP7diRb2n4fuKrGRuowJFcFYb5okHsIXWSZkWEOhgGmhiD S7exT6r6uyR0ZYVxDkY30/eRfjkoRNMD7hMDd4wmg5jQQF2NMKUdaekG8/HbdPBDA2Qt IY0w== 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=KxXUCgJglmB5dbFFfEaMSuylDxhccdLxtBgB6REN/B4=; fh=XfAaXWyqlSOG6tOPQVawiIJkkXy5wO0VszoNu8SSp68=; b=wAH52IJnrB2xFVdJWGtcgTa2czPOKSk35L1cF6oC9+yY5u4+2w9poX3SzMlqnDcwRB wAJULBW7hRiDQOqbnhX6SCj7rmc2I0WyUq7OJ2Ai8bEqywwILUOwTA5SVIshgxBbkSCV vuaNjez9Gsj8h7LUy0oKnMusLw4XAa5vGqpLf8bU3o4K1DBGFrzKRruw3JKqBRZfxDNO IRZMuv6X9XYqL6rB3v/n3cItGJTikHe8seDcZiu1xpZXb0fna5CbV4zhDgbMWzV7ow18 Mn0pq8iOBA7XQcR1lJQfzfuT08x2/9cBFW1vUF5im+a+Oah8wnTHXr8dOds2kdGwz7ig 4Jxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="OTg/KzSH"; 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 u12-20020a170902e80c00b001b89551a392si4330973plg.113.2023.07.12.17.20.06; Wed, 12 Jul 2023 17:20:17 -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="OTg/KzSH"; 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 S233387AbjGMABl (ORCPT + 99 others); Wed, 12 Jul 2023 20:01:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231758AbjGMABc (ORCPT ); Wed, 12 Jul 2023 20:01:32 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F17561BF2 for ; Wed, 12 Jul 2023 17:01:31 -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=KxXUCgJglmB5dbFFfEaMSuylDxhccdLxtBgB6REN/B4=; b=OTg/KzSH0/oOudFd276JdK54x/ VZgOjVxeC5WtxoYfEjsEtHQ3sA93SkjC2rlVWoG82v/T8+Mbp+fN1eMP/PA8psq73Hlg89ULZLU5u gfelEk3Ct99LBW/Gj8N2qDBz+KhdKdbDZVk7q1U2St5KbV1vAtqqK9Cg2059dEh8Yftxu2IyWOD5d VaQpKWCEzJUH6hUelR7mY8MPITszMvFeqNOx5Nv398iQPTIrip8wFNOaPtOBo7IPYqd6ZJIFQq/bO jq8HoRqNjvL18YDhiNH7+xpg6Rnb9eUtpqYaKemeqEBLwzSjCXvaDNHdHLHVCPT5zUDHv7+P0iQje /awVgMKQ==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qJjlx-001XO3-27; Thu, 13 Jul 2023 00:01:29 +0000 Message-ID: Date: Wed, 12 Jul 2023 17:01:29 -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 v2] erofs: DEFLATE compression support Content-Language: en-US To: Gao Xiang , linux-erofs@lists.ozlabs.org Cc: LKML References: <20230712233347.122544-1-hsiangkao@linux.alibaba.com> <20230712234611.4712-1-hsiangkao@linux.alibaba.com> From: Randy Dunlap In-Reply-To: <20230712234611.4712-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 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 > + 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