Message ID | 20230825135431.1317785-24-hao.xu@linux.dev (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EA9EC71133 for <linux-mm@archiver.kernel.org>; Fri, 25 Aug 2023 14:04:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3FBBE680002; Fri, 25 Aug 2023 10:04:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3AC4C680001; Fri, 25 Aug 2023 10:04:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 27439680002; Fri, 25 Aug 2023 10:04:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 18A59680001 for <linux-mm@kvack.org>; Fri, 25 Aug 2023 10:04:41 -0400 (EDT) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 5A0391206C8 for <linux-mm@kvack.org>; Fri, 25 Aug 2023 14:04:40 +0000 (UTC) X-FDA: 81162797520.07.F30F2EF Received: from out-247.mta1.migadu.com (out-247.mta1.migadu.com [95.215.58.247]) by imf28.hostedemail.com (Postfix) with ESMTP id A269DC002C for <linux-mm@kvack.org>; Fri, 25 Aug 2023 14:04:38 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=cYsDGPpj; spf=pass (imf28.hostedemail.com: domain of hao.xu@linux.dev designates 95.215.58.247 as permitted sender) smtp.mailfrom=hao.xu@linux.dev; dmarc=pass (policy=none) header.from=linux.dev ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692972278; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=sCdpGKioQF34weG5w+z0/y3PF/fjvtNNI35yO4EvtLk=; b=KNPBYbDLbclm8CV4BjrF5e6lTLGuiKsIr56lv29WllhdHPcYp+xOtyzsjUjZvX6szM1MaJ x6hvQqEY8qFHEd8sK5niOLs5XfA0wgymyzuHyMG71hIGPvz8aPZTsW8TAKg5NJmKByohjh kjS1NuFv0IoAvEOCkvz4WP8/YpY2uDk= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692972278; a=rsa-sha256; cv=none; b=EeFpAIP+OpDUoGEx/buLZ2LKvc0y5NTcPyZ7A5Jc0xZwBEs5SvAQ6RFJ9wm/bMHjelUTBO zpuzBzEFuwoWpZQkgSfVdVRSXM361uDqN29/IGXbDy8AQXR+cxWoEZiYBrrNQeYLmVc8uZ 6+gC9BeZq3ktK5iDGXYcGrxSYFfTfHk= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=cYsDGPpj; spf=pass (imf28.hostedemail.com: domain of hao.xu@linux.dev designates 95.215.58.247 as permitted sender) smtp.mailfrom=hao.xu@linux.dev; dmarc=pass (policy=none) header.from=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1692972277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sCdpGKioQF34weG5w+z0/y3PF/fjvtNNI35yO4EvtLk=; b=cYsDGPpjRbWUMOTIPyMO/haz1FlbbiWizE4L6+4KiNimBQndM5dbyTTkg9jBA2egpwU6Cb fkg5cTnWwTpMK0RxO73BKMbVgecaeb3ZdD5hvh5LwNn8nQIo0z4wNaoOSgDtnANIdxLDF6 nhdxpWfLei5X8co+EkZeZUy0T4PzeHk= From: Hao Xu <hao.xu@linux.dev> To: io-uring@vger.kernel.org, Jens Axboe <axboe@kernel.dk> Cc: Dominique Martinet <asmadeus@codewreck.org>, Pavel Begunkov <asml.silence@gmail.com>, Christian Brauner <brauner@kernel.org>, Alexander Viro <viro@zeniv.linux.org.uk>, Stefan Roesch <shr@fb.com>, Clay Harris <bugs@claycon.org>, Dave Chinner <david@fromorbit.com>, "Darrick J . Wong" <djwong@kernel.org>, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-cachefs@redhat.com, ecryptfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-unionfs@vger.kernel.org, bpf@vger.kernel.org, netdev@vger.kernel.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-btrfs@vger.kernel.org, codalist@coda.cs.cmu.edu, linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com, linux-mm@kvack.org, linux-nilfs@vger.kernel.org, devel@lists.orangefs.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-mtd@lists.infradead.org, Wanpeng Li <wanpengli@tencent.com> Subject: [PATCH 23/29] xfs: don't print warn info for -EAGAIN error in xfs_buf_get_map() Date: Fri, 25 Aug 2023 21:54:25 +0800 Message-Id: <20230825135431.1317785-24-hao.xu@linux.dev> In-Reply-To: <20230825135431.1317785-1-hao.xu@linux.dev> References: <20230825135431.1317785-1-hao.xu@linux.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Stat-Signature: bpa91es1jrhh9k8rrh3rcdyxbycbqmhz X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: A269DC002C X-Rspam-User: X-HE-Tag: 1692972278-742627 X-HE-Meta: U2FsdGVkX19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yWCmWNMrBccGGb34Ty1q7ESM/r1TJ8YWV7YhNAx1DzKcMwyQdm5uW2vS82Z8Bt+Qc7D3pLfddoZQkXoBORHgFuQscoHrD4IIbFN2mopyVrq8zihZkSVd2h2lfwmpgzGwRO3cEHzJ0wVFswgFDiBMsk9U44AlD/2WCfi X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
io_uring getdents
|
expand
|
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index 57bdc4c5dde1..cdad80e1ae25 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c @@ -730,9 +730,10 @@ xfs_buf_get_map( if (!bp->b_addr) { error = _xfs_buf_map_pages(bp, flags); if (unlikely(error)) { - xfs_warn_ratelimited(btp->bt_mount, - "%s: failed to map %u pages", __func__, - bp->b_page_count); + if (error != -EAGAIN) + xfs_warn_ratelimited(btp->bt_mount, + "%s: failed to map %u pages", __func__, + bp->b_page_count); xfs_buf_relse(bp); return error; }