Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5517868ioo; Wed, 1 Jun 2022 07:11:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1r3MAH0xzYpyOx/4eoOq8Q8qwv35S9WUgZxXB5Ug+3QNhle18RBp9ImajtEfAI+w6r+63 X-Received: by 2002:a65:508c:0:b0:3fb:882c:85ef with SMTP id r12-20020a65508c000000b003fb882c85efmr136636pgp.39.1654092688144; Wed, 01 Jun 2022 07:11:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654092688; cv=none; d=google.com; s=arc-20160816; b=fXaAGKkv9YZ4Yh6yyQzGSqLDRGK9JD2Zy+WSHEvuqiAPa3Fl1I9wSrDjYDTAj38nIu YTl1Z6iLijQsi4X47s2zIwC/nKIWQmJj6bD3CWzMkRjiFhU3Zwttg3gUGaGree6yuAFg XBNiGBnhFtDP/D7K5X6Lvof0hKvsawvZtZE+6S/dXhtfIKEAioe1zRpgHF+YskBsQQm1 gRPwwe0ZV0yxEVsx/sL1DLVyqrkJilJYN1T4y3U9+Nn1TEFLmRRMM3RkeVQPMTVdRGqQ OIzvc4Xj2s2jXO+mF8T5y2sOznXNWy2xhQv1ZV6m2oYV5xYs8vktsXDdgsd0rNpcabE1 Iatw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=s4hupzimCVliNkul/rmFuQlPFU5eCljHWBkEAuwuf2U=; b=nCOMVh/OYPgj93kmRneFLWehFT9eZ6X4HxOjkwtLhBsaKsIknCp0Bm/bcQBtaF7XFr b60HxU+VHGTQA2ezHQa9YwEjtvhkLzwV6wO/nv0ecWlaTVMd+0hUmoyejC50UxcWl29v q9/fzIn+aaRrcJR1x56me3nb+StgRW7QTc+hwK3Jn0ztnwSnMUUsSAg5O9ZQwTnF7Xvt v+mMgUNtYurtTIx+W8P6addq+LX9vntQxvpdkLLZLclvayxwa7GGVFEmuppPx5bUfdec +XMCreWZwvEYHxJFlWaEPT96ojObriZY8Qaprlju4+tATfO9i3f3w230jnqo+nhD6jKR oHdQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p1-20020a654bc1000000b003fbe1f55bc5si2650204pgr.92.2022.06.01.07.11.15; Wed, 01 Jun 2022 07:11:28 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244368AbiEaGuv (ORCPT + 99 others); Tue, 31 May 2022 02:50:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244361AbiEaGut (ORCPT ); Tue, 31 May 2022 02:50:49 -0400 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A82870922 for ; Mon, 30 May 2022 23:50:48 -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=e01e04395;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0VEu7moQ_1653979844; Received: from B-P7TQMD6M-0146.local(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VEu7moQ_1653979844) by smtp.aliyun-inc.com(127.0.0.1); Tue, 31 May 2022 14:50:46 +0800 Date: Tue, 31 May 2022 14:50:44 +0800 From: Gao Xiang To: Chao Yu Cc: Gao Xiang , linux-erofs@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] erofs: random decompression cleanups Message-ID: References: <20220529055425.226363-1-xiang@kernel.org> <903a5a66-be1c-6371-708e-ac7f491b9585@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <903a5a66-be1c-6371-708e-ac7f491b9585@kernel.org> X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 Tue, May 31, 2022 at 02:45:38PM +0800, Chao Yu wrote: > Acked-by: Chao Yu Thanks Chao! It'd be much helpful for me if we apply these cleanups so I can have a new folio rework+cleanup+rolling hash 5.20 cycle. Thanks, Gao Xiang > > Thanks, > > On 2022/5/29 13:54, Gao Xiang wrote: > > From: Gao Xiang > > > > Hi folks, > > > > Now I'm working on cleanuping decompression code and doing some > > folio adaption for the next 5.20 cycle, see: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/xiang/linux.git/log/?h=erofs/folios > > > > This cleanup work completely gets rid of PageError usage finally > > and tries to prepare for introducing rolling hashing for EROFS > > since EROFS supports compressing variable-sized data instead of > > fixed-sized clusters. > > > > Therefore, EROFS can support rolling hash easily and our mechanism > > can make full use of filesystem interfaces (byte-addressed) naturally. > > > > Before that, I'd like to submit some trivial cleanups in advance for > > the 5.19 cycle. All patches are without any logical change, so I can > > have a more recent codebase for the next rework cycle. > > > > Thanks, > > Gao Xiang > > > > Gao Xiang (3): > > erofs: get rid of `struct z_erofs_collection' > > erofs: get rid of label `restart_now' > > erofs: simplify z_erofs_pcluster_readmore() > > > > fs/erofs/zdata.c | 165 +++++++++++++++++++---------------------------- > > fs/erofs/zdata.h | 50 +++++++------- > > 2 files changed, 88 insertions(+), 127 deletions(-) > >