diff options
| author | 2026-03-13 12:31:48 -0400 | |
|---|---|---|
| committer | 2026-04-03 09:27:52 -0400 | |
| commit | 42cc13995967c1f3790cb106916eed8fab2a37b1 (patch) | |
| tree | c296f55d9d7351a111bddc06a97cef6a4e2b3610 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | NFSD: use per-operation statidx for callback procedures (diff) | |
NFSD: convert callback RPC program to per-net namespace
The callback channel's rpc_program, rpc_version, rpc_stat,
and per-procedure counts are declared as file-scope statics in
nfs4callback.c, shared across all network namespaces.
Forechannel RPC statistics are already maintained per-netns
(via nfsd_svcstats in struct nfsd_net); the backchannel
has no such separation. When backchannel statistics are
eventually surfaced to userspace, the global counters would
expose cross-namespace data.
Allocate per-netns copies of these structures through a new
opaque struct nfsd_net_cb, managed by nfsd_net_cb_init()
and nfsd_net_cb_shutdown(). The struct definition is private
to nfs4callback.c; struct nfsd_net holds only a pointer.
Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
