diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-01-26 18:39:46 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-03-01 17:12:10 +0300 |
commit | 93483ac5fec62cc1de166051b219d953bb5e4ef4 (patch) | |
tree | abf581c516a245baa67cf9118b0b481df7b85d01 /README | |
parent | d98416cc2154053950610bb6880911e3dcbdf8c5 (diff) | |
download | linux-93483ac5fec62cc1de166051b219d953bb5e4ef4.tar.xz |
nfsd: expose /proc/net/sunrpc/nfsd in net namespaces
We are running nfsd servers inside of containers with their own network
namespace, and we want to monitor these services using the stats found
in /proc. However these are not exposed in the proc inside of the
container, so we have to bind mount the host /proc into our containers
to get at this information.
Separate out the stat counters init and the proc registration, and move
the proc registration into the pernet operations entry and exit points
so that these stats can be exposed inside of network namespaces.
This is an intermediate step, this just exposes the global counters in
the network namespace. Subsequent patches will move these counters into
the per-network namespace container.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions