From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7631C7EE29 for ; Thu, 25 May 2023 10:34:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240876AbjEYKeZ (ORCPT ); Thu, 25 May 2023 06:34:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbjEYKeU (ORCPT ); Thu, 25 May 2023 06:34:20 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5038210B for ; Thu, 25 May 2023 03:34:19 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;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=8;SR=0;TI=SMTPD_---0VjRzVu4_1685010854; Received: from 30.97.48.238(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VjRzVu4_1685010854) by smtp.aliyun-inc.com; Thu, 25 May 2023 18:34:15 +0800 Message-ID: Date: Thu, 25 May 2023 18:34:13 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] erofs: clean up z_erofs_pcluster_readmore() To: Yue Hu , xiang@kernel.org, chao@kernel.org, jefflexu@linux.alibaba.com, linux-erofs@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, huyue2@coolpad.com, zhangwen@coolpad.com References: <20230525072605.17857-1-zbestahu@gmail.com> From: Gao Xiang In-Reply-To: <20230525072605.17857-1-zbestahu@gmail.com> 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 2023/5/25 00:26, Yue Hu wrote: > From: Yue Hu > > No need end parameter since it's pointless for !backmost, we can get it > for backmost internally. And we only expand the trailing edge, so the > newstart can be replaced with ->headoffset. > > Also, remove linux/prefetch.h that is not used anymore after commit > 386292919c25 ("erofs: introduce readmore decompression strategy"). > > Signed-off-by: Yue Hu Reviewed-by: Gao Xiang Will test it with the following bulk later. Thanks, Gao Xiang