diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-02-15 22:57:31 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2024-03-09 17:14:50 +0300 |
commit | d47151b79e3220e72ae323b8b8e9d6da20dc884e (patch) | |
tree | 060a119c633a3a9aee92d3eabbd901cbdac53af0 /fs/nfs/netns.h | |
parent | 2057a48d0dd00c6a2a94ded7df2bf1d3f2a4a0da (diff) | |
download | linux-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