Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5862192ioo; Wed, 1 Jun 2022 14:21:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtmQUX5faK8W0ERymZoq65DxE2bx7qzaWHQC3sWLtn76tETAlStFVnngSfFa+gfwEuKroH X-Received: by 2002:a05:6a00:2483:b0:518:751f:9152 with SMTP id c3-20020a056a00248300b00518751f9152mr59755912pfv.47.1654118478257; Wed, 01 Jun 2022 14:21:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654118478; cv=none; d=google.com; s=arc-20160816; b=g3yVA2hqv5S042inXOopx3aBLSCypsTri6OX6JZyXyBnN3mEP0Is+Q2HRoMUcFHt20 jClW7pr+IHsxu+HvZP2wIB9PYx8r0vAM6n+apuJr6cIglHMiaOMnzpEr/ziaI3pjNZHf Iu7PgzK0Mq0j51TAK6WwseEypt0pGTDtEDv0j1I9HoKmcBlXVty62i76zPhGdxm0gzjh w1UXgHgEXbhvojzo1UzOPMJJckfcRbmO6TyB5Gn7VDqS3/ztacTmVMKQKJOQDK8nYy7N QQtrfFAQ7GK2vjUxRh8jlHsE1Lp9slB2vG6U4ZJ8ZgCM4jCrPm9WQdZko7syvMqyiuir u+Mg== 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=kWXtXUx4HPQ0kVkgq5lxDQJ3I0M3fqLIdhCPgggRO74=; b=lAPisqbnxO85EV55LWjz4u1TfPTSePLszuVIE7IJQZv1Bz6CUiKlaxH3dYpTaOi5bP QsZteqZ5JaXthKwmFw1x7rUprHRPVhrVzA5IlYt/jpf71m7TtfohTySpASpNNU+/6ZlM XvVFT1M77RodR0rK0l0a2SJETj5JNXuO1k7IbAdCD63FN9vXoemLSCr+pXlrE0OVExkr A0ONjEOZV0sqo8C5qm2jJL63KUKe81RLUo4Lls5m+qsYtv75wva44t/hEZeCmnCW5WRK mrIE3vaZ845lFeoYq0tSqowdvUyFp/mkS04TupkmU5niCgvNWMOtnwJsw/fqbtFmqsBB EgrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q2s0wXvb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id a191-20020a6390c8000000b003fc32fa2686si2997019pge.177.2022.06.01.14.21.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 14:21:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q2s0wXvb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 90E01202D0D; Wed, 1 Jun 2022 13:11:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244350AbiEaGpr (ORCPT + 99 others); Tue, 31 May 2022 02:45:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244329AbiEaGpq (ORCPT ); Tue, 31 May 2022 02:45:46 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6008B6D87E for ; Mon, 30 May 2022 23:45:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C4445B80FCD for ; Tue, 31 May 2022 06:45:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2347DC385A9; Tue, 31 May 2022 06:45:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653979542; bh=JWUY8gLxM6a8ecx+oeq5zIpOkvxaRWMyrTnL80aNhrI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Q2s0wXvb1We+8wZiL1fkROY36DyyMvj3B2eBxjLz6YmUXaSWPe7MVHp1jlGa3v0fZ 5jokGDyjHhNcEWsOf1F9QB1hGE7bgtq8GPa2cWne4UxloGPLUFIc1eWlcoAb/cefwl julBU61N4wGG+hX+3qi4APZbkEmepBPP1zBfRaxAcBwEZSUpI6iA1CLY06P9ve8fDT PvgW32xRed4cnsDVRrvJjKg15EcAh4KJXK9RfdRTF8zE6LH2pdHexVIuhVn8xh3l4I +soMQYIrlMxJVWDbnJYfU+GOMLiCSTIOKaubwd2lPiholP+Akk6sSKn2d+J9YPIcHX 4ru1RWs21QaJQ== Message-ID: <903a5a66-be1c-6371-708e-ac7f491b9585@kernel.org> Date: Tue, 31 May 2022 14:45:38 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 0/3] erofs: random decompression cleanups Content-Language: en-US To: Gao Xiang , linux-erofs@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, Gao Xiang References: <20220529055425.226363-1-xiang@kernel.org> From: Chao Yu In-Reply-To: <20220529055425.226363-1-xiang@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Acked-by: Chao Yu 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(-) >