Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp433136pxb; Tue, 19 Oct 2021 06:01:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVEyvmOY2kby6XAasDXXDVBioxxNkDIWezxHPHYB3EKYyNKuTyYErzuGGzGRi2osWtrJn0 X-Received: by 2002:a50:c31a:: with SMTP id a26mr52193327edb.193.1634648489397; Tue, 19 Oct 2021 06:01:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634648489; cv=none; d=google.com; s=arc-20160816; b=SVStc7SWW8Hk44LW1w+kqChPUWRPPgk96gaUEGAoJmLDwOQ28HnaQ1f2KoxPFkoRJH a6IWmNDAJ55UnGAuInSvLj6L5NXU/5yUeH3Mzsh/xyM9VGkXKnRqOEtDUniizOZ4BBz2 d1oHOyg+990UOg9OsCKEsRqxcAir+JB0wZMZsCPn8bXDfd8XbU2nblyt/S+jJL+QkVkT XfwszMeMAjklCy8mOqsSTNchquGmcAsYVm5SuKP7Wpx1S6E1hu3r/pBFgxuTd/7xb9Yk DowBkpILuIONL9Mom11OGBAlPXOWCvqLA9y/4ycXSrcX6CVJI1hXy7sTx5H2BnIHRCk6 yYxQ== 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=ioisQyTG9GfXBp0JrrRXawUtnGMQOGFOxRAmiWPBmMU=; b=R6GdAnvPsScZVHS4Qb+p776z2WdM8Hef9ZR3G6+FvSgYIA2xWwLdn2JeWy+QvzME1C wMNlwyCYYAHH7D4l/5gy3zk70MRHCKJ2q+FMeCkzoPpf31m9uoc/oc9+Q8wQKDny1uUP zVfgnXJfD9W1hZ1wgcjOr7yYk6bJoZnMErbJ1gtDFD/Mu/nQS1rlELwoV1DNDsXLeqr4 NTeI9AaSd1csuUxpTrlO3XfAZ8oleDGMd/wPNbqQvF8mQ0sLue4NVLli7qcLSvzrKsm9 4AX2XtxdEsC5eL9IK+fU34TS4n8OE2sIyQT+Z+5uKfo9xAo+Dj/RRCALFWKozxyA4Kqy CfOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SkAI15oe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o2si24087421ejd.219.2021.10.19.06.01.04; Tue, 19 Oct 2021 06:01:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SkAI15oe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235719AbhJSM7K (ORCPT + 99 others); Tue, 19 Oct 2021 08:59:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:44646 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235689AbhJSM7F (ORCPT ); Tue, 19 Oct 2021 08:59:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5ED4461360; Tue, 19 Oct 2021 12:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634648213; bh=rpzdWCUEobf/IDekmzPNEYMxSWhS5XWJoeBbvCLEQ2U=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=SkAI15oe3aJqLCpSAzrO1oNSzlppscoCUOiUzA7fi5zu5mUJQpLt+Sa3RWydsPguM dsNBiEP7+oW61RI4tzrMR0HfkwfNwH86kvNPsO+0v4pgkPLrX4itZVmg05Usljt3CS aTh0bKM+noFjYEpCyQEa9/GI6ANXD4XEXQ+JhJktuCUAJW8iNONdW7o4trS39Fnkc2 vI5I9/+PAnkXymgQYL0ovGmzFysbOBVTavIqa+3EwcKrMQ3ZINlXokDxm0mEv2klK6 xEpCCOLbDPkh3fonvx/HGEzuARRjoZIT5bPtjEbc+vyLnYBZNAmcx0/NJChmnE0zDp WTjbJoHioE+3A== Message-ID: Date: Tue, 19 Oct 2021 20:56:48 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH v4 2/3] erofs: introduce the secondary compression head Content-Language: en-US To: Gao Xiang , linux-erofs@lists.ozlabs.org Cc: LKML , Gao Xiang , Yue Hu References: <20211009181209.23041-1-xiang@kernel.org> <20211017165721.2442-1-xiang@kernel.org> From: Chao Yu In-Reply-To: <20211017165721.2442-1-xiang@kernel.org> 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 On 2021/10/18 0:57, Gao Xiang wrote: > From: Gao Xiang > > Previously, for each HEAD lcluster, it can be either HEAD or PLAIN > lcluster to indicate whether the whole pcluster is compressed or not. > > In this patch, a new HEAD2 head type is introduced to specify another > compression algorithm other than the primary algorithm for each > compressed file, which can be used for upcoming LZMA compression and > LZ4 range dictionary compression for various data patterns. > > It has been stayed in the EROFS roadmap for years. Complete it now! > > Reviewed-by: Yue Hu > Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,