Message ID | 20231207212206.1379128-19-dhowells@redhat.com (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 67F9DC4167B for <linux-mm@archiver.kernel.org>; Thu, 7 Dec 2023 21:23:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 583E26B00A7; Thu, 7 Dec 2023 16:23:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 50ADB6B00A8; Thu, 7 Dec 2023 16:23:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 385DF6B00A9; Thu, 7 Dec 2023 16:23:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 22A706B00A7 for <linux-mm@kvack.org>; Thu, 7 Dec 2023 16:23:22 -0500 (EST) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id F3DCE160250 for <linux-mm@kvack.org>; Thu, 7 Dec 2023 21:23:21 +0000 (UTC) X-FDA: 81541298202.23.8AA82A2 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf14.hostedemail.com (Postfix) with ESMTP id 34088100014 for <linux-mm@kvack.org>; Thu, 7 Dec 2023 21:23:19 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=HgHcxNnL; spf=pass (imf14.hostedemail.com: domain of dhowells@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1701984199; a=rsa-sha256; cv=none; b=vv1Ps9T6gyhM3LsIPtpeEFlTIb0cIKaK5zU5DflJ5p9HJw/x0otK7S4M6HzJDOzc772/SQ BIbr710exzoR7yLVx70E8Lorl+IoDT4f7XzsGW5EuFWFdkjkKFafIxVxZ1e9sL0AGabNMd uvMBGForynY7qhlI0VS1iG7XUGRZ3Zs= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=HgHcxNnL; spf=pass (imf14.hostedemail.com: domain of dhowells@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1701984199; 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=lvA6ro7QUMhtjJlsHPwIgzyPLJOZgWtkvO2st3qI+pQ=; b=tY2M7dfoBIsNmDfeeSYBwciL3TJd++itowC22USSz6nV6CZ4pXW7QXuydNjtZCqzihoxZn B8myXxlB5tvhLWebnw8IViec4Ohu7D49B4fR50eY5WqqaY+bxyXHisi+cUFi+dfAUMbCrE X82iaEtHOXDOKcTe654390mxZd27KZU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701984198; 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=lvA6ro7QUMhtjJlsHPwIgzyPLJOZgWtkvO2st3qI+pQ=; b=HgHcxNnLj2vZAQkEfsarPK4or59JDBV7dXcpFaD5aGyzFoe1OMUKA4or1bdfNn7f3f8mhT qH5n1bit27s8U9nHPZ3lunK5FKL9UlTUvUpbjih1zbMhfdUdfsXqx+edQKFApLuk+IQSiN Q3zI4TMx1u2UngzHaBG6AZvUQcU1wAg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-685-9KUuTsJwM4aFyQU2gs7mHg-1; Thu, 07 Dec 2023 16:23:15 -0500 X-MC-Unique: 9KUuTsJwM4aFyQU2gs7mHg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 48B5385A58A; Thu, 7 Dec 2023 21:23:14 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.161]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8C2221C060AF; Thu, 7 Dec 2023 21:23:11 +0000 (UTC) From: David Howells <dhowells@redhat.com> To: Jeff Layton <jlayton@kernel.org>, Steve French <smfrench@gmail.com> Cc: David Howells <dhowells@redhat.com>, Matthew Wilcox <willy@infradead.org>, Marc Dionne <marc.dionne@auristor.com>, Paulo Alcantara <pc@manguebit.com>, Shyam Prasad N <sprasad@microsoft.com>, Tom Talpey <tom@talpey.com>, Dominique Martinet <asmadeus@codewreck.org>, Eric Van Hensbergen <ericvh@kernel.org>, Ilya Dryomov <idryomov@gmail.com>, Christian Brauner <christian@brauner.io>, linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 18/59] netfs: Export netfs_put_subrequest() and some tracepoints Date: Thu, 7 Dec 2023 21:21:25 +0000 Message-ID: <20231207212206.1379128-19-dhowells@redhat.com> In-Reply-To: <20231207212206.1379128-1-dhowells@redhat.com> References: <20231207212206.1379128-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 34088100014 X-Stat-Signature: a3mmcruhroxsmz1zt8ft3777krck3rc9 X-Rspam-User: X-HE-Tag: 1701984199-88611 X-HE-Meta: U2FsdGVkX1+oWEmTBZVmTrOIErGPEy+HYbUy1SZETCY63P31mLjR4QvRE5qC6SBSQf7cI94l5YCsbmuBjYQtdig+FfG3Mm6DTFjIynX24y8t7PCBepsXCJagVY/Fd/otetMvmB9Smx9UAQ9opwldPkrunA8rhpIkjEl6ohXiUVAlZRCguWeV+PrOcgllehuF2u0Q/XT8KU6EZdnrYQ8PfSdioRftnmIIw+mpt2Vtb97mz2OhRJYvBgt39wa1D3giAXCpaKd6Pu/xib919/XTeZckMfDIA2z8Em+gUtyJX0GPedjpjyVKsuTD+XwtVJDN1ffiobJIsBBnt9n2N4mW5Dl/ZjSLDX0TRZOVqmOSuRxC9cpFUrjoxtJajO4rZs923H2rqEyRsOtKHLLXYB8UbXa0GOs9gyewfdEtB4mfcrx1M1k1vl06DFinffTGgW0YU1OnOejMupMeYh9OKJJqQhd0oByCmut2VMEEveB/f7Kg+pHeMoJl7eeqOlMpO2tNrL4yRK24xQRbCRKWCHxitq4iFfJbY50EVDR/bqlmV86JQx2hTeUr0dhb2CK2s9pmIckSsYmOPj1HYj7ZcpEWDe7TENDaiyJE/mwCUgeQwL/PKuwlsv5WZv2tHwNIldDATuxrc5MfZ+RGnjQ4ukAYcxmkXZI9h78SRyDfSTgmr49ar+RjbKAvXuww98Yr5B4IJ5QSWpaduz07ZKePoK+VCyyefimR8tiMIrmJI90B9ggLQ7etE4lCeG+EAnVWSBa3zC+TQcqBXC2k7Kl/EERVQ6woTEm2bVU66hx4F35wr+k90l2EkKR7Ws3FSo0AwgP4fWMTiFcXYeJ2+uLXCvxEoSVe5VgaiSUM4BQNOA/O+GDndPZlvo+HbqBstKDxL7D50Q0obbKYNGLcmdYkHn538M7ssusN42Hz3ZavSENvFXdVnD+/YxS4uJiFNzQYgdaUVWF2XnQLC9/S855tMrB sp8FeWJ3 U4jJON9EsLlDli+TpNL8KVAm+WO3HTf3RvpEdV+IY0ITjlR1Ndh/geMe78fYbuVa9Tn+SEcqEPnkBhEQhuLUFPz6JM+iSwUYUKysB+fORYYmiBEvrV7ujMPmxOaE0OyLt34UxQ5WpstUZheqGeHDKTFSWZMLtKity3lug93a6q/vB/bwUwinMJJe+a30y7mXsSElsMs7mCqzJ50KNcKTUdMHIPZxxRrUXmwzO1vbohASqdvRyuC2TLYgQjnU6StfdYdufDtI1QMVpFbmihUbnA5J/9HALfpheh+issYdaFiR8ohqhZl0mBihAXUA7MnNVhq47VVxQ0fk4mtfw8SdPeeRQkQ== 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> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
netfs, afs, 9p, cifs: Delegate high-level I/O to netfslib
|
expand
|
diff --git a/fs/netfs/main.c b/fs/netfs/main.c index 97ce1436615b..404e68e339bf 100644 --- a/fs/netfs/main.c +++ b/fs/netfs/main.c @@ -17,6 +17,9 @@ MODULE_DESCRIPTION("Network fs support"); MODULE_AUTHOR("Red Hat, Inc."); MODULE_LICENSE("GPL"); +EXPORT_TRACEPOINT_SYMBOL(netfs_rreq); +EXPORT_TRACEPOINT_SYMBOL(netfs_sreq); + unsigned netfs_debug; module_param_named(debug, netfs_debug, uint, S_IWUSR | S_IRUGO); MODULE_PARM_DESC(netfs_debug, "Netfs support debugging mask"); diff --git a/fs/netfs/objects.c b/fs/netfs/objects.c index 9f3f33c93317..a7947e82374a 100644 --- a/fs/netfs/objects.c +++ b/fs/netfs/objects.c @@ -178,3 +178,4 @@ void netfs_put_subrequest(struct netfs_io_subrequest *subreq, bool was_async, if (dead) netfs_free_subrequest(subreq, was_async); } +EXPORT_SYMBOL(netfs_put_subrequest);
Export netfs_put_subrequest() and the netfs_rreq and netfs_sreq tracepoints. Signed-off-by: David Howells <dhowells@redhat.com> cc: Jeff Layton <jlayton@kernel.org> cc: linux-cachefs@redhat.com cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org --- fs/netfs/main.c | 3 +++ fs/netfs/objects.c | 1 + 2 files changed, 4 insertions(+)