summaryrefslogtreecommitdiff
path: root/fs/nfs/netns.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2024-02-15 22:57:31 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2024-03-09 17:14:50 +0300
commitd47151b79e3220e72ae323b8b8e9d6da20dc884e (patch)
tree060a119c633a3a9aee92d3eabbd901cbdac53af0 /fs/nfs/netns.h
parent2057a48d0dd00c6a2a94ded7df2bf1d3f2a4a0da (diff)
downloadlinux-d47151b79e3220e72ae323b8b8e9d6da20dc884e.tar.xz
nfs: expose /proc/net/sunrpc/nfs in net namespaces
We're using nfs mounts inside of containers in production and noticed that the nfs stats are not exposed in /proc. This is a problem for us as we use these stats for monitoring, and have to do this awkward bind mount from the main host into the container in order to get to these states. Add the rpc_proc_register call to the pernet operations entry and exit points so these stats can be exposed inside of network namespaces. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/netns.h')
0 files changed, 0 insertions, 0 deletions