Backport "make svc_stat per-net instead of global"
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | nfsd: move reply cache initialization into nfsd startupfs/ fs/ | +9 | 0 replies | |
| 2/18 | nfsd: move init of percpu reply_cache_stats counters back to nfsd_init_netfs/ fs/ fs/ | +25 | 0 replies | |
| 3/18 | NFSD: Refactor nfsd_reply_cache_free_locked()fs/ | +21 | 0 replies | |
| 4/18 | NFSD: Rename nfsd_reply_cache_alloc()fs/ | +3 | 0 replies | |
| 5/18 | NFSD: Replace nfsd_prune_bucket()fs/ fs/ | +85 | 0 replies | |
| 6/18 | NFSD: Refactor the duplicate reply cache shrinkerfs/ | +41 | 0 replies | |
| 7/18 | NFSD: Rewrite synopsis of nfsd_percpu_counters_init()fs/ fs/ | +4 | 0 replies | |
| 8/18 | NFSD: Fix frame size warning in svc_export_parse()fs/ fs/ fs/ | +31 | 0 replies | |
| 9/18 | sunrpc: don't change ->sv_stats if it doesn't existnet/ | +16 | 0 replies | |
| 10/18 | nfsd: stop setting ->pg_stats for unused statsfs/ fs/ fs/ | +0 | 0 replies | |
| 11/18 | sunrpc: pass in the sv_stats struct through svc_create_pooledfs/ include/ net/ | +12 | 0 replies | |
| 12/18 | sunrpc: remove ->pg_stats from svc_programfs/ include/ | +0 | 0 replies | |
| 13/18 | sunrpc: use the struct net as the svc proc privatenet/ | +1 | 0 replies | |
| 14/18 | nfsd: rename NFSD_NET_* to NFSD_STATS_*fs/ fs/ fs/ | +7 | 0 replies | |
| 15/18 | nfsd: expose /proc/net/sunrpc/nfsd in net namespacesfs/ fs/ fs/ | +15 | 0 replies | |
| 16/18 | nfsd: make all of the nfsd stats per-network namespacefs/ fs/ fs/ +6 more | +64 | 0 replies | |
| 17/18 | nfsd: remove nfsd_stats, make th_cnt a global counterfs/ fs/ fs/ +1 more | +5 | 0 replies | |
| 18/18 | nfsd: make svc_stat per-network namespace instead of globalfs/ fs/ fs/ +2 more | +11 | 0 replies |
Reviews trailers per patch
16 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Eirik Fuller | Jeff Layton |
|---|---|---|
| 1/18 | ||
| 2/18 | Reported-and-tested-by | |
| 3/18 | R-b | |
| 4/18 | R-b | |
| 5/18 | R-b | |
| 6/18 | R-b | |
| 7/18 | R-b | |
| 8/18 | R-b | |
| 9/18 | R-b | |
| 10/18 | R-b | |
| 11/18 | R-b | |
| 12/18 | R-b | |
| 13/18 | R-b | |
| 14/18 | R-b | |
| 15/18 | R-b | |
| 16/18 | R-b | |
| 17/18 | R-b | |
| 18/18 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 5.15.y 00/18] Backport "make svc_stat per-net instead of global"
From: Chuck Lever <[email protected]>
Following up on
https://lore.kernel.org/linux-nfs/[email protected]/
Here is a backport series targeting origin/linux-5.15.y that closes the information leak described in the above thread.
Review comments welcome.
Chuck Lever (6):
NFSD: Refactor nfsd_reply_cache_free_locked()
NFSD: Rename nfsd_reply_cache_alloc()
NFSD: Replace nfsd_prune_bucket()
NFSD: Refactor the duplicate reply cache shrinker
NFSD: Rewrite synopsis of nfsd_percpu_counters_init()
NFSD: Fix frame size warning in svc_export_parse()
Jeff Layton (2):
nfsd: move reply cache initialization into nfsd startup
nfsd: move init of percpu reply_cache_stats counters back to
nfsd_init_net
Josef Bacik (10):
sunrpc: don't change ->sv_stats if it doesn't exist
nfsd: stop setting ->pg_stats for unused stats
sunrpc: pass in the sv_stats struct through svc_create_pooled
sunrpc: remove ->pg_stats from svc_program
sunrpc: use the struct net as the svc proc private
nfsd: rename NFSD_NET_* to NFSD_STATS_*
nfsd: expose /proc/net/sunrpc/nfsd in net namespaces
nfsd: make all of the nfsd stats per-network namespace
nfsd: remove nfsd_stats, make th_cnt a global counter
nfsd: make svc_stat per-network namespace instead of global
fs/lockd/svc.c | 3 - fs/nfs/callback.c | 3 - fs/nfsd/export.c | 32 ++++-- fs/nfsd/export.h | 4 +- fs/nfsd/netns.h | 25 ++++- fs/nfsd/nfs4proc.c | 6 +- fs/nfsd/nfscache.c | 202 ++++++++++++++++++++++--------------- fs/nfsd/nfsctl.c | 24 ++--- fs/nfsd/nfsd.h | 1 + fs/nfsd/nfsfh.c | 3 +- fs/nfsd/nfssvc.c | 24 +++-- fs/nfsd/stats.c | 52 ++++------ fs/nfsd/stats.h | 83 ++++++--------- fs/nfsd/trace.h | 22 ++++ fs/nfsd/vfs.c | 6 +- include/linux/sunrpc/svc.h | 5 +- net/sunrpc/stats.c | 2 +- net/sunrpc/svc.c | 36 ++++--- 18 files changed, 302 insertions(+), 231 deletions(-)
Signature · 1 line
2.45.2