Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4328291rwb; Tue, 16 Aug 2022 20:05:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR5/k5lVwfC15Tz1IGowLuKYRTtoZi2OY09OA1PHQ4WY73PzaXQOuMxQh0xSZWpLdsWj8DZj X-Received: by 2002:a17:907:8a09:b0:731:610:ff8d with SMTP id sc9-20020a1709078a0900b007310610ff8dmr15235621ejc.399.1660705551318; Tue, 16 Aug 2022 20:05:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660705551; cv=none; d=google.com; s=arc-20160816; b=xnortPMMYufreMMwhs6MJMbcfw1Jd4BlslpPRawAh/9MPjAbRazNMsn9BEgOiMcv32 BiOvOSYeyUtE8X+BKPzk6l6raroaOvZXQXRWOhrDIkMAq9yjU8Djzez+JyKRC8nz6PWb EJJapLEKhN0M/so1G4c0pH8YeEz6fdapFrQwk01Qty/1r/Qy66k4pXJ6VYB7A3VxUAjY 1wNwdqH/ryTxBOu+xZIojNZED+LLj6xQK/I0vF5xPKuB2ZwpBMOOY1sPqfxtv4E5aSBP q/tcjoaLv6nTf7S2i0zmzbS6sXLJvAU6TOl0AsYmuYsApGSlcp8baK8icy31VJVnhc47 BKmA== 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 :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=yITaNThql62roBDZgcgbCrNqYiV4UEGUfAOYcYwM/IY=; b=ob+qujVxQzz9vZlgKMqMUHb0lvFwicTOB1Uw6K9YzG8Fz1VcDgnxpp01PQj3MHJWdu zL4y/XFnxaHMK+/O8d7HhyXDAXG9y2CkzgMZsd8UXgkNb05/9j5pZvglREcH98GPHwxy xdHNA+2EtzeScuqIFHbvqHnea0+myzqFdOZ0Bt1WJoU7k8D1H+VPLX4xSA0ZMzulKzw+ /6wQoiBATaL6ukzXZh3oFVcPeAME8zLluJ1sl+Nx5K83FGtwF9RntXkww9IJxlpYvz0e pbKn5ov8aaX3ZkW2UuRf4uiifpW5Td1NS32JoIcG4L9PeBxx1B8B3RAxQ4RCNX6Zg52c ayHw== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j20-20020a05640211d400b0043be542b956si13417680edw.262.2022.08.16.20.05.25; Tue, 16 Aug 2022 20:05:51 -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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238077AbiHQCtC (ORCPT + 99 others); Tue, 16 Aug 2022 22:49:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238334AbiHQCsz (ORCPT ); Tue, 16 Aug 2022 22:48:55 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9CD44506F; Tue, 16 Aug 2022 19:48:51 -0700 (PDT) Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4M6snh2s7qzkWQG; Wed, 17 Aug 2022 10:45:28 +0800 (CST) Received: from kwepemm600010.china.huawei.com (7.193.23.86) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 17 Aug 2022 10:48:49 +0800 Received: from [10.174.178.31] (10.174.178.31) by kwepemm600010.china.huawei.com (7.193.23.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 17 Aug 2022 10:48:48 +0800 Subject: Re: [PATCH] erofs: fix error return code in erofs_fscache_meta_read_folio and erofs_fscache_read_folio To: Gao Xiang CC: , , , , , References: <20220815034829.3940803-1-sunke32@huawei.com> From: Sun Ke Message-ID: Date: Wed, 17 Aug 2022 10:48:47 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.178.31] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600010.china.huawei.com (7.193.23.86) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 在 2022/8/17 10:41, Gao Xiang 写道: > Hi Ke, > > On Wed, Aug 17, 2022 at 09:44:46AM +0800, Sun Ke wrote: >> >> >> 在 2022/8/16 13:16, Gao Xiang 写道: >>> On Mon, Aug 15, 2022 at 11:48:29AM +0800, Sun Ke wrote: >>>> If erofs_fscache_alloc_request fail and then goto out, it will return 0. >>>> it should return a negative error code instead of 0. >>>> >>>> Fixes: d435d53228dd ("erofs: change to use asynchronous io for fscache readpage/readahead") >>>> Signed-off-by: Sun Ke >>> >>> Minor, I tried to apply this patch by updating the patch title into >>> "erofs: fix error return code in erofs_fscache_{meta_,}read_folio" >>> >>> since the original patch title is too long. >> >> Should I send a v2 patch to update the title? > > I've already updated this by hand if you have no concern ;) > will push out to -next today... ;) Thanks, Sun Ke > > Thanks, > Gao Xiang > >> >> Thanks, >> Sun Ke >>> >>> Thanks, >>> Gao Xiang >>> . >>> > . >