]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: Capture every CB state transition
authorChuck Lever <chuck.lever@oracle.com>
Fri, 14 May 2021 19:56:31 +0000 (15:56 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 18 May 2021 17:44:03 +0000 (13:44 -0400)
commit858c5d84342661ab15399c749861f7d7aeb672fd
treee7d9740e8039c76a5dabffdca01f33917d025499
parent8367f54b0057ad296dbf08f1170da8168fca2905
NFSD: Capture every CB state transition

We were missing one.

As a clean-up, add a helper that sets the new CB state and fires
a tracepoint. The tracepoint fires only when the state changes, to
help reduce trace log noise.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c