NFSv4.1: add tracepoint to trunked nfs4_exchange_id calls
authorOlga Kornievskaia <kolga@netapp.com>
Fri, 2 Feb 2024 20:21:13 +0000 (15:21 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Mar 2024 14:14:50 +0000 (09:14 -0500)
commit7e5ae43b2d0eb89560bf7da7c9c745d31bf72ffe
tree06c218f02b2e974eb803374bd2996f0f4932511a
parentfd5860ab6341506004219b080aea40213b299d2e
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>
fs/nfs/nfs4proc.c
fs/nfs/nfs4trace.h
include/trace/misc/nfs.h