Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp226930imw; Fri, 15 Jul 2022 01:49:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sJKpt0mRTOo+ylDEahKns970+z6XYFSI2jHU5yZf5PgmQfFNwoiyNJaFL8H0JX1aXsEYUK X-Received: by 2002:a17:907:2c61:b0:72b:3a12:5121 with SMTP id ib1-20020a1709072c6100b0072b3a125121mr12451916ejc.52.1657874966100; Fri, 15 Jul 2022 01:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657874966; cv=none; d=google.com; s=arc-20160816; b=WBPPm7yg7X/wXdNGhTmVY0mfjYZVjNLTHp/BiaxKXEG81xHF4iEnNQK3Nasoiyym8Z yO3k07m8508UU1ZKT9fiZf6SJ2Ve2yBvc0xALh2TGrjUfgk5c7wuaW/OieVYBtdzllLl rxImmD0b8RFDvSPUbnpzowirmD8cn++ntDkpu3zekzIs/qY9G8VjtLub1rfCY7n36r+i BDgliEXZjWmaq6JNlHrcoXDc6CeiJU4F2jhbA7I51YKwp4j32RjHv+ue5cbl5JLenZ5F Kuz3Hk8MA86BcnbJd2OFKMOyUHJrzDo+Lsis0k7SSobG8CNOKmaAmFqsVQcAl3GMNfbs Sy6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=avIvPkXnH4SzoYsvQQ3wX9xzRxcp+KK0o8HXPKUV/IE=; b=HdraDjBS/DxPlhJ8iyoRhRCg6JPahCS4520X9cWq3FZ50Slw12MKTkEO+NIbUNzzTq ZVXidbomHRFuy15qx4TLK5aFR37Jy0/wO5KQj7mBNfEcm5tip4UY5EhyUebptbelGGjr Dsw56E6Kzm6LXGIhySt6P+AhRSzLkX7IAL1rZQzUPypwYtDd8roOqU/jbQ31tiwnJFY/ jRn2058Mume8GmUrQQs9B9SkUgyRPfnUODx4oACkhhriZNota/btUbRDzM0vdT5er9LO 13G8fqvbW/dJpZz8DppugUC71HnLGa4jqHNNEn4NaPvuNLFL+mPFzKWZ2tSlbGepOoSs A67A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mSh4pzzI; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v20-20020aa7cd54000000b0043a729da525si4722858edw.237.2022.07.15.01.49.01; Fri, 15 Jul 2022 01:49:26 -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=@gmail.com header.s=20210112 header.b=mSh4pzzI; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230246AbiGOHoS (ORCPT + 99 others); Fri, 15 Jul 2022 03:44:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231244AbiGOHoK (ORCPT ); Fri, 15 Jul 2022 03:44:10 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F74E57E30 for ; Fri, 15 Jul 2022 00:44:09 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id l12so2558560plk.13 for ; Fri, 15 Jul 2022 00:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=avIvPkXnH4SzoYsvQQ3wX9xzRxcp+KK0o8HXPKUV/IE=; b=mSh4pzzIpXEloPc9V5bLiMFg43NSDwzfV8P5RYg4xbMKDQ3m8yx50pQcKM57obdU6k iUoDXjXFzQK7wAvMS+QGgpIzeTw4XCSKiHnNPXpcyXLBOj0q2o8a2p+7Vx4HaykgWdSz 3cWehxBsAn7z2EcC3PdUesMa4b+uMoHfWfuEdjtPJ9b2rrUHNSr6HyDmtfk7Gh8HSR+P RptNpT1h6qAZJ7MICp0GZouSomyEPh45qEEDvLcO8fwTyWSevcXXIMCax6Z5lSiLXKmq GMr69r4tGe5YFi+OTCNzbM+Zb4ZU6nLM2aohWXEZxyfwQihHkgij84pqNfm8x8vfoGve q2fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=avIvPkXnH4SzoYsvQQ3wX9xzRxcp+KK0o8HXPKUV/IE=; b=vsMjhXTsJeBjMSaF+J2oIiEyXfCV3kFWbzf1L82plWXbflwbnBoNA7qP3sTrjWl+QD Th9K3gddSmZLc3LfYh9gNzQ8yE/xBsYZKlH9ZsI/hrCW+LESJBaPiV8UaCim970iivHK sdt+j3cUTwBschEfEf5hNDkG1hE7drCG7DOvfESG0cjvLtyMkPcVt0RlxWXbe3b7n9ZP JnPE5J+3ovfmiBPhF4ZN17oyujxJHyVmjAo7wrJAvmn1QeyhOzBXypRH+zUj/Vci4CT7 TgDw4elBv/y57QQHUDc7MfqDo7bmwp/P3Kcq2+a1gQa+SspXiqrPg7+EQHdsjpei3h5V m6Eg== X-Gm-Message-State: AJIora/Mm61IllK7PdwWqcq+J/GI/M3VXn6BX2PAGqE7PWZunNsocy3R tLbYFb2tXGKq2Rw9pt12fv0= X-Received: by 2002:a17:902:f691:b0:16c:4fb6:e08b with SMTP id l17-20020a170902f69100b0016c4fb6e08bmr12610701plg.174.1657871048772; Fri, 15 Jul 2022 00:44:08 -0700 (PDT) Received: from localhost ([156.236.96.165]) by smtp.gmail.com with ESMTPSA id d1-20020a170902cec100b0016a091eb88esm2851078plg.126.2022.07.15.00.44.07 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jul 2022 00:44:08 -0700 (PDT) Date: Fri, 15 Jul 2022 15:45:31 +0800 From: Yue Hu To: Gao Xiang 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: <20220715154531.00005153.zbestahu@gmail.com> In-Reply-To: References: <20220714132051.46012-1-hsiangkao@linux.alibaba.com> <20220714132051.46012-6-hsiangkao@linux.alibaba.com> <20220715150737.00006764.zbestahu@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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, 15 Jul 2022 15:19:46 +0800 Gao Xiang wrote: > 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? ok, may submit later. > > Thanks, > Gao Xiang