Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp202912imw; Fri, 15 Jul 2022 01:07:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vCmd+aB4Kac6EHlAvz6eRGZr+sl9hoVtxtbdP4PhJSCXT2BHSf80dWH8l7vFjp76pDrb2i X-Received: by 2002:a17:90a:ff17:b0:1ef:8b4b:8cc0 with SMTP id ce23-20020a17090aff1700b001ef8b4b8cc0mr14504459pjb.155.1657872465208; Fri, 15 Jul 2022 01:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657872465; cv=none; d=google.com; s=arc-20160816; b=rxP48228hzCTcYSOyDORR0zrhzzxrYRoq/Y/c4khsCeA3JQNBFLmGAONjyTYxtKwka 9UdBzohBfgGgO7HRk9hrbXiFBz8kbTVRT4Vka8lNgmHpCl7n0oGtbMxGKGfPF1aEjuEq 6ECEFx55dQECUucz8zsMsCU8JjXeY7rvz6EajI8VOCWQLy6YzYGxYhNge7z7ocZjeLiC SfP3/e1h+KO/Uofk1sg4QEQgfNuC2mJV/tptWSeWgE44PCgf8FbyL6GQA6kowTopjJD/ P25TqCgqnL3m5vY98454OcpHBDOJS3CIvQZwXoceK7w9Dx5CxpHNBcV+tPwNdKAf4Ws9 cgFg== 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=SkuJi5BVjMQ6PRm77r3Zo9lVmsx7rRiWhvPTG9LfqdE=; b=FwAQ7ifeLVdO4iYUN3RkNjFu2ZomDBlGKOlZkqYP8VtCcLVyMzE+Jf0IYxRDQSI+qP JS37Q6Nrufug0fLVehIhIx9vIF42sqHI09ybYoTUJAeoBkMavrZ9VcVpnX5HpmX8QaFJ MqPrAp9uGtDrxjjYaUmoLkjTwvC1Lbc1tlXNnFI1jxCWhcI6OmKv4es7mVxjPLz8nrRq BvgYvS/s8b5XYgjZ0wPbdxRuZQaXy3jGSKKeHnsgr7YoJL6KNcowkmtF/TZviRwMtNqF S8XU1gxbCxktjIAzkLRgIUBCjaYDGrRk80iLS075ByhxngA4fIae6mOYkza9GucPmFpX SHyw== 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 k2-20020a170902c40200b0016a7f1a4857si5183306plk.472.2022.07.15.01.07.06; Fri, 15 Jul 2022 01:07:45 -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 S231542AbiGOHT7 (ORCPT + 99 others); Fri, 15 Jul 2022 03:19:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231447AbiGOHTy (ORCPT ); Fri, 15 Jul 2022 03:19:54 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFACA747A5 for ; Fri, 15 Jul 2022 00:19:52 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R391e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VJODXgh_1657869587; Received: from B-P7TQMD6M-0146.local(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VJODXgh_1657869587) by smtp.aliyun-inc.com; Fri, 15 Jul 2022 15:19:48 +0800 Date: Fri, 15 Jul 2022 15:19:46 +0800 From: Gao Xiang To: Yue Hu Cc: linux-erofs@lists.ozlabs.org, Chao Yu , LKML , zhangwen@coolpad.com Subject: Re: [PATCH 05/16] erofs: drop the old pagevec approach Message-ID: References: <20220714132051.46012-1-hsiangkao@linux.alibaba.com> <20220714132051.46012-6-hsiangkao@linux.alibaba.com> <20220715150737.00006764.zbestahu@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220715150737.00006764.zbestahu@gmail.com> 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 Fri, Jul 15, 2022 at 03:07:37PM +0800, Yue Hu wrote: > On Thu, 14 Jul 2022 21:20:40 +0800 > Gao Xiang wrote: > > > Remove the old pagevec approach but keep z_erofs_page_type for now. > > It will be reworked in the following commits as well. > > > > Also rename Z_EROFS_NR_INLINE_PAGEVECS as Z_EROFS_INLINE_BVECS with > > the new value 2 since it's actually enough to bootstrap. > > I notice there are 2 comments as below which still use pagevec, should we > update it as well? > > [1] > * pagevec) since it can be directly decoded without I/O submission. > [2] > * for inplace I/O or pagevec (should be processed in strict order.) Yeah, thanks for reminder... I will update it in this patch in the next version. > > BTW, utils.c includes needles , we can remove it along with the patchset > or remove it later. That is a completely different stuff, would you mind submitting a patch to remove it if needed? Thanks, Gao Xiang