summaryrefslogtreecommitdiff
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2024-02-15 22:57:30 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2024-03-09 17:14:50 +0300
commit2057a48d0dd00c6a2a94ded7df2bf1d3f2a4a0da (patch)
tree3f02b5bd3d02c0842c8fcf8f6a26fb7a17896afd /include/linux/sunrpc
parentedc99a2dd3ce07f61c379e641e417c07226be5ec (diff)
downloadlinux-2057a48d0dd00c6a2a94ded7df2bf1d3f2a4a0da.tar.xz
sunrpc: add a struct rpc_stats arg to rpc_create_args
We want to be able to have our rpc stats handled in a per network namespace manner, so add an option to rpc_create_args to specify a different rpc_stats struct instead of using the one on the rpc_program. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/clnt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h
index 5e9d1469c6fa..5321585c778f 100644
--- a/include/linux/sunrpc/clnt.h
+++ b/include/linux/sunrpc/clnt.h
@@ -139,6 +139,7 @@ struct rpc_create_args {
const char *servername;
const char *nodename;
const struct rpc_program *program;
+ struct rpc_stat *stats;
u32 prognumber; /* overrides program->number */
u32 version;
rpc_authflavor_t authflavor;