Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp275774lqd; Wed, 24 Apr 2024 01:44:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVrqMDuYzquJiZdCcBZOUURe/azOzJXociVzMa46d5Jx8jW5tPDEm4wkAijji7NrNmK9/DcBwjNGmq45ORb364N87ITm1E117dt4/k03A== X-Google-Smtp-Source: AGHT+IHGSB7A9Cc3X+B5zPeqY7iIs8d87rdtkSwg3hOPNS61CiT3jbU1wtAy53SDfRaklecF55cV X-Received: by 2002:a17:902:e88f:b0:1e8:a63b:d427 with SMTP id w15-20020a170902e88f00b001e8a63bd427mr2126458plg.49.1713948287159; Wed, 24 Apr 2024 01:44:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713948287; cv=pass; d=google.com; s=arc-20160816; b=p9/BC2SOdZJNbWLz2OnR1vjATKIHhAeTSIv6k5HKa8Wt++R8qTPDSNZhotyEWXKp8E Savkbgp87i73ncWfYiTt4oxMbO8vHasiDPeWsuTwWRUn3TLWJzMEvNoMhPW0IwNFei8H JQtLWfdk/VsSP0tyoqVmdaq2K3iGOVWDrp+G3q8oMAOKiALQbP16Eu2UFsSDfnTffK+l eBYetMKBsRargG9zo6s+Ru1851Lm2Aqj7p6d/bBvtYlqY+9UD6TbTAsR+gGhMiD4weH/ yrNkONBt/AiFRpFgoKgwZAmUc96vl+ItLJ0sUuCpDMe7yzar26dzBaORTdjivY5HvDu7 PG0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=VYO5JujBqFYVef45KN1r1Z6DoRGEiTAQ2ROrnpy89Ns=; fh=K4Wc1JyrthLvkyBHMuRQuVYRu9UXErYiK3HrzLbmRi4=; b=Qe2kVtoVEp5I3g9LYinfTaZByORm+V+9dgf12BxA1M26pJMaF58tSmcAreN4bBymMC TNWpwF65wkAk/6sheDXAtkolSUT136H/d5irXmSX69GFstzVRORMW0lmR9T+KovhERI5 2oHew2v1nsAvpkkaNm6RyPODsZILJQ9DPwt7ZYD1IRnH79ZoDbegnLvncpJIcIu/hnyX zShwOVTCJpAXpoztr1OHk6Od//W1pVk3H0FPp71PaGEbnrQL7fsNNcF2URlRkKEZh4FN 6QzUkBcgY3xXwEqtykv2QgB9ttBLEydo89ATBziM71ryAD5/mAnK44QP1jDaB1E+E7l2 zemA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-156568-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156568-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u9-20020a170903124900b001e0afd270d8si11062397plh.302.2024.04.24.01.44.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 01:44:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156568-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-156568-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156568-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id BE856281DA0 for ; Wed, 24 Apr 2024 08:44:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 03BEB1581EB; Wed, 24 Apr 2024 08:44:40 +0000 (UTC) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7584D157A58 for ; Wed, 24 Apr 2024 08:44:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713948279; cv=none; b=uAjyeft7tmk2kr5Gbfcu3FezQMgVmpK0NQdL3kMNoDkEORzcRGB1AD9Jd5x9IfsIGNCbLDHLz+icDOAClJarMppnqNuPLxvMctZnT1zD9icJx44G6WubRswF/IBUrN6ZQSQfmi8yuHCT0UZs9Bl9fB0JEa0bB4v7FoqagcWbwZ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713948279; c=relaxed/simple; bh=72dDQb35D/K5zmdkRcjY1p0LRwj9rmLZqtpNP1gcwqs=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=Q2Y4bA2fCmw+zk34QQJHKq1YMZv9jtrDVT93Rp9Owb3WixDPNn7NPlkDTS51Ibw4uQB1Pq08ZjSKba+7QsHtIzhTmVFLS3f7NYmmnPyEK7Azlq3iDFXBN91Cd02FytohK0wOeimbNYmGo9/VXnR5MYzlONc+TwQ9LR71g3Nc7eE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.162.254]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4VPXWx2KVVzwSZg; Wed, 24 Apr 2024 16:41:17 +0800 (CST) Received: from dggpeml500022.china.huawei.com (unknown [7.185.36.66]) by mail.maildlp.com (Postfix) with ESMTPS id 041921800C2; Wed, 24 Apr 2024 16:44:28 +0800 (CST) Received: from [10.67.111.104] (10.67.111.104) by dggpeml500022.china.huawei.com (7.185.36.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 24 Apr 2024 16:44:27 +0800 Message-ID: <7ae4a071-56b3-410b-9c95-d6677dc46f25@huawei.com> Date: Wed, 24 Apr 2024 16:44:27 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH -next] erofs: modify the error message when prepare_ondemand_read failed Content-Language: en-US To: Gao Xiang , , CC: , , , linux-erofs mailing list , LKML References: <20240424023945.420828-1-lihongbo22@huawei.com> <871467f7-1218-4c13-ae47-13e89bbbe0cc@linux.alibaba.com> From: Hongbo Li In-Reply-To: <871467f7-1218-4c13-ae47-13e89bbbe0cc@linux.alibaba.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpeml500022.china.huawei.com (7.185.36.66) ok, thanks! On 2024/4/24 11:29, Gao Xiang wrote: > > (+cc linux-erofs & LKML) > > On 2024/4/24 10:39, Hongbo Li wrote: >> When prepare_ondemand_read failed, wrong error message is printed. >> The prepare_read is also implemented in cachefiles, so we amend it. >> >> Signed-off-by: Hongbo Li > > Reviewed-by: Gao Xiang > > Could you resend the patch with proper mailing list cced with my > "reviewed-by:" tag?  So I could apply with "b4" tool. > > Thanks, > Gao Xiang > >> --- >>   fs/erofs/fscache.c | 2 +- >>   1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/fs/erofs/fscache.c b/fs/erofs/fscache.c >> index 8aff1a724805..62da538d91cb 100644 >> --- a/fs/erofs/fscache.c >> +++ b/fs/erofs/fscache.c >> @@ -151,7 +151,7 @@ static int erofs_fscache_read_io_async(struct >> fscache_cookie *cookie, >>           if (WARN_ON(len == 0)) >>               source = NETFS_INVALID_READ; >>           if (source != NETFS_READ_FROM_CACHE) { >> -            erofs_err(NULL, "prepare_read failed (source %d)", source); >> +            erofs_err(NULL, "prepare_ondemand_read failed (source >> %d)", source); >>               return -EIO; >>           }