]> git.baikalelectronics.ru Git - kernel.git/commit
NFSD: Add tracepoints to NFSD's duplicate reply cache
authorChuck Lever <chuck.lever@oracle.com>
Sat, 2 May 2020 15:34:40 +0000 (11:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:31 +0000 (11:41 +0100)
commit28a5f8ff1feae0f2a69fc14dffb24430e2f763db
tree5c850ed93a0a2347d3c6b4036a4c9bb09f1396f9
parent5ec63880e9654a17ece177e866288434b686505c
NFSD: Add tracepoints to NFSD's duplicate reply cache

[ Upstream commit 01a1d933fb16826d05141ab5c796a7c69113abd4 ]

Try to capture DRC failures.

Two additional clean-ups:
- Introduce Doxygen-style comments for the main entry points
- Remove a dprintk that fires for an allocation failure. This was
  the only dprintk in the REPCACHE class.

Reported-by: kbuild test robot <lkp@intel.com>
[ cel: force typecast for display of checksum values ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Stable-dep-of: 3bc8edc98bd4 ("nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/nfsd/nfscache.c
fs/nfsd/trace.h