]> git.dujemihanovic.xyz Git - linux.git/commit
nfsd: track the main opcode for callbacks
authorJeff Layton <jlayton@kernel.org>
Mon, 26 Aug 2024 12:50:12 +0000 (08:50 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 20 Sep 2024 23:31:03 +0000 (19:31 -0400)
commitc1c9f3ea7405b5069925ab2fd6326e3b980b28b0
tree88f839d8b0cd8c8c24f3160c68b4ddb4a75bb7bc
parente8581a9124470b751db8ec46044720d1597dbbfe
nfsd: track the main opcode for callbacks

Keep track of the "main" opcode for the callback, and display it in the
tracepoint. This makes it simpler to discern what's happening when there
is more than one callback in flight.

The one special case is the CB_NULL RPC. That's not a CB_COMPOUND
opcode, so designate the value 0 for that.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4layouts.c
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c
fs/nfsd/state.h
fs/nfsd/trace.h