Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp172628lqd; Tue, 23 Apr 2024 20:29:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvPScNUX33H41CILTGpgtsIdB6vQrYBB3VaDPaLLfLyewpkTR5A/d6dNOsvgBvMagdSANj2c+Zud93+7nOOEn9fswtOmqWHpCvsB79bQ== X-Google-Smtp-Source: AGHT+IGQdF2q/7ASdbG+O/AQh+lcJFVKXz9muSL8MGxYfphNfw6KLLXEdCmH+8TnGvUygpwlN1hc X-Received: by 2002:a05:620a:5811:b0:790:7b9e:caa9 with SMTP id wm17-20020a05620a581100b007907b9ecaa9mr1373231qkn.21.1713929381436; Tue, 23 Apr 2024 20:29:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713929381; cv=pass; d=google.com; s=arc-20160816; b=AJrDtqB6ftjdkIoK+Z/SdLS4j3wFjVTsNcnHVvE9eTfBshS4sUKSH7Qamk3CXNAtEh hEYWRwRzcYBqS/pO10nKGPr0T9+BETD+UTnrMhrj6xP4M4dqJWXR0IEPmSH3gQXyai0d TNjih4NS8DV/uqAQA57ZK8jLkmQw9ThRbg1QVAESg69t6Dl/x4DqmHLftHWSKqvf6ive mDvzl9wZ88FbJjFaKuh4o/5XBw5qGbUZU3dAqx2RfjfgzOcDN2VZctvTUQZrojLsys2n FdtlbAF7FfFZD20p2Tpqqc+Ewm+NkFWVE6Dq0UANGgZXKI7PmoY91llfxKQ4DpJ3qknU seRQ== 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:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=6+3vy5RW94Ou/P4a51UJp53U0IfxqdYqVf/uzowYFLE=; fh=RpUnH0m7uT05GR0UxB8vYA8Gkl5vZ+zTTO3Nn0xKHWM=; b=nEcZ71dwZO2U9vyttrJ9rDCpkE1UJ5lNuHAZODHjrcFBAHo0MBEC4+U9iB+6dRyHTs HrQzS9rcwmNrnwpOIEz9CoerW4IZcs7GNXlFp0JOxhwFGia0c0H75hjCbUdPxCZHmJGS YpLOlv+bU5vsHbMddlX/XPa9JfXUD74JDjX4mjgP9KKoX8xxYxI6BDbhtFBYt2YG7HtV e7g85OS/KdPIIyxs+2qXKuUrylV3K1Kdbl4t8eeOIorztEug2o8yLaWlV/mrAGQ7X503 QSftjDGJT3ge0N1+QxIOHoenJY65i57+Mbbs9jq4up/CWPHd0UX1WLGYltSuescec/fc p34g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=LxxRC0n0; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-156211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id os38-20020a05620a812600b0078efd19c3bdsi13896023qkn.623.2024.04.23.20.29.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 20:29:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=LxxRC0n0; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-156211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156211-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2C30D1C23393 for ; Wed, 24 Apr 2024 03:29:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 90FF013A269; Wed, 24 Apr 2024 03:29:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="LxxRC0n0" Received: from out30-110.freemail.mail.aliyun.com (out30-110.freemail.mail.aliyun.com [115.124.30.110]) (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 440508627C for ; Wed, 24 Apr 2024 03:29:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.110 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713929376; cv=none; b=OuCkunvFeLsd+Pr4clT3E1Bg2hRCP9QHWCZwlpithX9wsbAYHOkXO5XpEdnyRBDsyapYQb1mNH8KW4NyeP/Zdv7mBzTuleyP0IyZlwc51l9E4QhSARYuFZwfb31S9ZZjzarjPZQQmJGfyGARfJ2ZJVSYjqAU7OZeK+qT3gKwSbA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713929376; c=relaxed/simple; bh=IXrYvzj2ENQ3Q3iwFGC5oWcuhFxJU5EHiAiIWa60SKs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=puoojhwhC0OEG6IqtYkRFbOSSqCHEgJiyJG65cMVGR77GmwZCH43LvLijjFuNu6n59I84NW11oWOo16Yz9A6Myi12M/srEPU89+WGZw9iZJRq3K1JogV020RUNT4cVo1aX7PsCHQNmjeVxNo20fvmiYytqiutzHMbg6ipYuSnyI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=LxxRC0n0; arc=none smtp.client-ip=115.124.30.110 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1713929371; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=6+3vy5RW94Ou/P4a51UJp53U0IfxqdYqVf/uzowYFLE=; b=LxxRC0n03NUBvT9tQlIeXfPIHiA3Ps/KzlyRLBHznHnmEDTJbRRLBpN0UzJ0f+4HwSRv2BpED8VsnoYErOf9wI8p3Fya2Qr6lOSb63a6FlVqY73yXBCvYx8x4xMQ7gC230TRFRdopXKanFt7lkYhA4sSVD1HOTTHTWpfYMAZ5Fo= 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=maildocker-contentspam033037067109;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0W5Alj4X_1713929369; Received: from 30.97.48.214(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0W5Alj4X_1713929369) by smtp.aliyun-inc.com; Wed, 24 Apr 2024 11:29:30 +0800 Message-ID: <871467f7-1218-4c13-ae47-13e89bbbe0cc@linux.alibaba.com> Date: Wed, 24 Apr 2024 11:29:28 +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 To: Hongbo Li , xiang@kernel.org, chao@kernel.org Cc: huyue2@coolpad.com, jefflexu@linux.alibaba.com, dhavale@google.com, linux-erofs mailing list , LKML References: <20240424023945.420828-1-lihongbo22@huawei.com> From: Gao Xiang In-Reply-To: <20240424023945.420828-1-lihongbo22@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit (+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; > } >