Message ID | 20231117211544.1740466-15-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 32F9BC072A2 for <linux-mm@archiver.kernel.org>; Fri, 17 Nov 2023 21:16:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B50D18D0019; Fri, 17 Nov 2023 16:16:41 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id AD89C8D0012; Fri, 17 Nov 2023 16:16:41 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9528F8D0019; Fri, 17 Nov 2023 16:16:41 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 817DD8D0012 for <linux-mm@kvack.org>; Fri, 17 Nov 2023 16:16:41 -0500 (EST) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 5ABBA12071C for <linux-mm@kvack.org>; Fri, 17 Nov 2023 21:16:41 +0000 (UTC) X-FDA: 81468705402.22.329BD99 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf07.hostedemail.com (Postfix) with ESMTP id 9FB8840003 for <linux-mm@kvack.org>; Fri, 17 Nov 2023 21:16:39 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=btdkqPeL; spf=pass (imf07.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.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=1700255799; a=rsa-sha256; cv=none; b=pWovJvBRvL/5jqUjgBAOk5GrFShd/P8pPU31QhCf7AWD6hjvcN6pOV4ZQ4aVBuMF7jzBPs MdCuicPZgriYi4AkwiBvfdm301Fh6aHaML4RDAo01jZKOLYISdZe4omRDvj8NcfWjIZDlK 38jpvBNvJfLD/09C5jCXh6vhIOvwPSI= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=btdkqPeL; spf=pass (imf07.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.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=1700255799; 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=3DnIaQFDcmRKFHFh1uGC6nDoJ2L5mkm/XxrMZ+rVQ/Q=; b=1litDIRWrvGGP+CLEeSWOw77zPjN6rqXFm5l9rIIFxqT21u2JCBF9eBBeUiW1Bzpuj1/0A 8t3t0ab848LLyjCbgEOGPS/wM7on5Pf7vuRrfittF5WMwcfDNYDIMhpK97CnB/zcmXlPYj snOSNgTnR+2VSaQVXmr6DUco1izd+mQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700255799; 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=3DnIaQFDcmRKFHFh1uGC6nDoJ2L5mkm/XxrMZ+rVQ/Q=; b=btdkqPeLoXBqYKM3DsfsAXPN8Cpyo786ZUEnM9lTBYA2m9jvgvB4W4ck+U45VN1o7lUk0z bcMlCNJ2a9GZwCZOOAy0GvO3E3hYuNi7fCYL9pRrkuvVB4u+U36ojIhNsbH4IiZF2n+R/s 2gGDp6k5EV8Zx+85x/BPN22M1s1f0Ag= 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-564-_fKdzUmZO5m7YubrbV2hDQ-1; Fri, 17 Nov 2023 16:16:37 -0500 X-MC-Unique: _fKdzUmZO5m7YubrbV2hDQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (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 7691E811E88; Fri, 17 Nov 2023 21:16:36 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id CDBED2166B2C; Fri, 17 Nov 2023 21:16:33 +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>, 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 v2 14/51] netfs: Export netfs_put_subrequest() and some tracepoints Date: Fri, 17 Nov 2023 21:15:06 +0000 Message-ID: <20231117211544.1740466-15-dhowells@redhat.com> In-Reply-To: <20231117211544.1740466-1-dhowells@redhat.com> References: <20231117211544.1740466-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.6 X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 9FB8840003 X-Stat-Signature: ys15jpd7yojcozhey4753u8tdozag151 X-Rspam-User: X-HE-Tag: 1700255799-86479 X-HE-Meta: U2FsdGVkX1+5k1yusfkWHmPg7bAZ5oJ/Y/jeTcRGWpfIzkJA4KejApIuiZUagapcdqVGN3BQTfId+NnU6orm6CekMqeReJZrMlI/8YfZf0Oa0BK3ZR7sTRTXvcgr4EyBRRxRfb6yvum56vAqiA5oNi0QbziBVzQmaAWSWjH3iVzNzou69Wd+nRgvEOGN9nUpwtrI+iZdufxJM2Rb+gebeocZgnCISVljHObNlnt6zvCv7F6UJPEyt66pxPc/K+bcINyaHGB+a2fvNqSohN+SehEnEOkoAuifqMYZvQqZaHfF25cnEsURy55Q29urj5unnrq8GFdqTCGgR/+jbnK4j2k0dT5gwpX5kbIT4T7MFcydmIWtIqQ8IW6hbVQTuoh+6HODew6YSGXL7o941jA4/bPXC1W38hMUUBynJh7xDu31SSJ0WMK1QsbkPuQWKyh/YWJtZYMHwDcK2qVVi+SwW0oxTHShjSlk6GzvEQMurMkILKsfZFB189SJ2rOsOzcb8VY4tuE/b0IP+DIWS+eKFFqsoNMhXftYzwHIev5OFttNcDyrxCxEDzTy+EkUesWIlm1pN3lAApJq2IcRsnl8jGNa3+aSRkKjT1gNQQsRJ6txDHgBfWwfhF40eUHWgNAzvg3rsELehTfoXkCKKUms+Mv88LJwis4Bht4WM/XgoK2vSVA0SXGJC2WeJvVZoXRzqeP0WLJD1FmynhaGOiVIXUf0bIbQBhpUTUWExVsj98XDTSiJ5fFwthO4VP/LkDJLDpgluV64B4txAw4khmHFUQzAYqZ+vB0UOhoWNz7WZyONh7pQjliLG+h3CHTyZDPLztKgb2skuok1KkcB+AopeUBqgRJu2hAjWaPU7mPnLmj8HrkwCYPOvoNEjov0YsjnqY8cJBGGtO/+/2VcfyW2ITbpmJejxiC5EFJV8VW0psXlolmGREFZsT3a4NmTEqB9sOfavq38zKc2jNqypwl 3rByrbZs z1NlaKugMyg6dj4ZtLI5sOobDagM6HSEgS6e/3wqk+sR3jarkq36Fk/Ls4fz89o8QICDpkusLYki49pJ+b1dlMS4rb+Obfu7bV7qLXLnHT4T5kBWS/UYs208ovUmiufDHZdxgA7CobswqfEPgPhJrK/WWXiJ7b2Rh/00ND+0TqrPcCZLmKwtMQpZq18H0rTE6h+/SPCSLEY9a6u8r04Pt/4oigrK9/xnYGTPp9RiU/IsVz0LOdxSf1T0g5g9wJvWcppEj9AQPNtE10l8yWjlEoUiscVnMMYxfcLjvQZtVx1F1r6Z2sJoL7s5D33fFzGHvXKfnFKlHml20VvwgaS1MsCQePA== 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, cifs: Delegate high-level I/O to netfslib
|
expand
|
diff --git a/fs/netfs/main.c b/fs/netfs/main.c index 21f814eee6af..0f0c6e70aa44 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(+)