summaryrefslogtreecommitdiffstats
path: root/include/trace/misc
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2024-02-02 15:21:13 -0500
committerTrond Myklebust <trond.myklebust@hammerspace.com>2024-03-09 09:14:50 -0500
commit7e5ae43b2d0eb89560bf7da7c9c745d31bf72ffe (patch)
tree06c218f02b2e974eb803374bd2996f0f4932511a /include/trace/misc
parentfd5860ab6341506004219b080aea40213b299d2e (diff)
downloadlinux-7e5ae43b2d0eb89560bf7da7c9c745d31bf72ffe.tar.gz
linux-7e5ae43b2d0eb89560bf7da7c9c745d31bf72ffe.tar.bz2
linux-7e5ae43b2d0eb89560bf7da7c9c745d31bf72ffe.zip
NFSv4.1: add tracepoint to trunked nfs4_exchange_id calls
Add a tracepoint to track when the client sends EXCHANGE_ID to test a new transport for session trunking. nfs4_detect_session_trunking() tests for trunking and returns EINVAL if trunking can't be done, add EINVAL mapping to show_nfs4_status() in tracepoints. Signed-off-by: Olga Kornievskaia <kolga@netapp.com> Reviewed-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/trace/misc')
-rw-r--r--include/trace/misc/nfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/trace/misc/nfs.h b/include/trace/misc/nfs.h
index 0d9d48dca38a..5387eb0a6a08 100644
--- a/include/trace/misc/nfs.h
+++ b/include/trace/misc/nfs.h
@@ -239,6 +239,7 @@ TRACE_DEFINE_ENUM(NFS4ERR_RESET_TO_PNFS);
{ EHOSTDOWN, "EHOSTDOWN" }, \
{ EPIPE, "EPIPE" }, \
{ EPFNOSUPPORT, "EPFNOSUPPORT" }, \
+ { EINVAL, "EINVAL" }, \
{ EPROTONOSUPPORT, "EPROTONOSUPPORT" }, \
{ NFS4ERR_ACCESS, "ACCESS" }, \
{ NFS4ERR_ATTRNOTSUPP, "ATTRNOTSUPP" }, \