SUNRPC: make sysctl per network namespcase context
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | SYSCTL: export root and set handling routinesinclude/ kernel/ | +12 | 14 replies | |
| 2/11 | SUNRPC: use syctl path instead of dummy parent tableinclude/ net/ net/ +1 more | +20 | 0 replies | |
| 3/11 | SUNRPC: sysctl root for debug table introducednet/ | +13 | 0 replies | |
| 4/11 | SUNRPC: per-net sysctl's set introducedinclude/ net/ net/ +3 more | +56 | 0 replies | |
| 5/11 | SUNRPC: register debug sysctl table per network namespacenet/ net/ net/ | +14 | 0 replies | |
| 6/11 | SUNRPC: register xs_tunables sysctl table per network namespaceinclude/ net/ net/ +1 more | +49 | 0 replies | |
| 7/11 | SUNRPC: xs tunables per network namespace introducednet/ net/ | +44 | 0 replies | |
| 8/11 | SUNRPC: use per-net xs tunables instead of static onesnet/ | +26 | 0 replies | |
| 9/11 | SUNRPC: remove xs_tcp_fin_timeout variablenet/ | +2 | 0 replies | |
| 10/11 | SUNRPC: allow debug flags modifications only from init_netnet/ | +2 | 0 replies | |
| 11/11 | SUNRPC: sysctl table for rpc_debug introducedinclude/ net/ net/ | +77 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] SUNRPC: make sysctl per network namespcase context
This patch set make SUNRPC sysctl created per network namspace context. It provides the following functionality:
1) Debug sysctl's ( {rpc,nfs,nlm,nfsd}_debug ) content is modifyable only from init_net network context.
2) Write to rpc_debug prints active RPC tasks in sysctl's creator networks context.
3) xs tunables are per-net now and modified through per-net sysctl's. IOW, sysctl creator context is used to get tunable during sysctl read/write access (not current tone).
The following series consists of:
---
Stanislav Kinsbursky (11):
SYSCTL: export root ans set handling routines
SUNRPC: use syctl path instead of dummy parent table
SUNRPC: sysctl root for debug table introduced
SUNRPC: per-net sysctl's set introduced
SUNRPC: register debug sysctl table per network namespace
SUNRPC: register xs_tunables sysctl table per network namespace
SUNRPC: xs tunables per network namespace introduced
SUNRPC: use per-net xs tunables instead of static ones
SUNRPC: remove xs_tcp_fin_timeout variable
SUNRPC: allow debug flags modifications only from init_net
SUNRPC: sysctl table for rpc_debug introduced
include/linux/sunrpc/debug.h | 9 ++ include/linux/sunrpc/sched.h | 1 include/linux/sunrpc/xprtsock.h | 3 + include/linux/sysctl.h | 1 kernel/sysctl.c | 11 +++ net/sunrpc/netns.h | 12 +++ net/sunrpc/sunrpc_syms.c | 27 ++++++- net/sunrpc/sysctl.c | 160 ++++++++++++++++++++++++++++++++------- net/sunrpc/xprtrdma/transport.c | 11 --- net/sunrpc/xprtsock.c | 147 ++++++++++++++++++++++++------------ 10 files changed, 293 insertions(+), 89 deletions(-)