All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6.6.y 00/12] Backport "make svc_stat per-net instead of global"
@ 2024-08-12 22:35 cel
  2024-08-12 22:35 ` [PATCH 6.6.y 01/12] NFSD: Rewrite synopsis of nfsd_percpu_counters_init() cel
                   ` (13 more replies)
  0 siblings, 14 replies; 24+ messages in thread
From: cel @ 2024-08-12 22:35 UTC (permalink / raw)
  To: stable
  Cc: linux-nfs, pvorel, sherry.yang, calum.mackay, kernel-team,
	Chuck Lever

From: Chuck Lever <chuck.lever@oracle.com>

Following up on:

https://lore.kernel.org/linux-nfs/d4b235df-4ee5-4824-9d48-e3b3c1f1f4d1@oracle.com/

Here is a backport series targeting origin/linux-6.6.y that closes
the information leak described in the above thread. It passes basic
NFSD regression testing.

Review comments welcome.   

Chuck Lever (2):
  NFSD: Rewrite synopsis of nfsd_percpu_counters_init()
  NFSD: Fix frame size warning in svc_export_parse()

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/cache.h            |  2 -
 fs/nfsd/export.c           | 32 ++++++++++----
 fs/nfsd/export.h           |  4 +-
 fs/nfsd/netns.h            | 25 +++++++++--
 fs/nfsd/nfs4proc.c         |  6 +--
 fs/nfsd/nfs4state.c        |  3 +-
 fs/nfsd/nfscache.c         | 40 ++++-------------
 fs/nfsd/nfsctl.c           | 16 +++----
 fs/nfsd/nfsd.h             |  1 +
 fs/nfsd/nfsfh.c            |  3 +-
 fs/nfsd/nfssvc.c           | 14 +++---
 fs/nfsd/stats.c            | 54 ++++++++++-------------
 fs/nfsd/stats.h            | 88 ++++++++++++++------------------------
 fs/nfsd/vfs.c              |  6 ++-
 include/linux/sunrpc/svc.h |  5 ++-
 net/sunrpc/stats.c         |  2 +-
 net/sunrpc/svc.c           | 39 +++++++++++------
 19 files changed, 163 insertions(+), 183 deletions(-)

-- 
2.45.1

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2024-08-15  8:25 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12 22:35 [PATCH 6.6.y 00/12] Backport "make svc_stat per-net instead of global" cel
2024-08-12 22:35 ` [PATCH 6.6.y 01/12] NFSD: Rewrite synopsis of nfsd_percpu_counters_init() cel
2024-08-12 22:35 ` [PATCH 6.6.y 02/12] NFSD: Fix frame size warning in svc_export_parse() cel
2024-08-12 22:35 ` [PATCH 6.6.y 03/12] sunrpc: don't change ->sv_stats if it doesn't exist cel
2024-08-12 22:35 ` [PATCH 6.6.y 04/12] nfsd: stop setting ->pg_stats for unused stats cel
2024-08-12 22:35 ` [PATCH 6.6.y 05/12] sunrpc: pass in the sv_stats struct through svc_create_pooled cel
2024-08-12 22:35 ` [PATCH 6.6.y 06/12] sunrpc: remove ->pg_stats from svc_program cel
2024-08-12 22:35 ` [PATCH 6.6.y 07/12] sunrpc: use the struct net as the svc proc private cel
2024-08-12 22:36 ` [PATCH 6.6.y 08/12] nfsd: rename NFSD_NET_* to NFSD_STATS_* cel
2024-08-12 22:36 ` [PATCH 6.6.y 09/12] nfsd: expose /proc/net/sunrpc/nfsd in net namespaces cel
2024-08-12 22:36 ` [PATCH 6.6.y 10/12] nfsd: make all of the nfsd stats per-network namespace cel
2024-08-12 22:36 ` [PATCH 6.6.y 11/12] nfsd: remove nfsd_stats, make th_cnt a global counter cel
2024-08-12 22:36 ` [PATCH 6.6.y 12/12] nfsd: make svc_stat per-network namespace instead of global cel
2024-08-14  7:45 ` [PATCH 6.6.y 00/12] Backport "make svc_stat per-net instead of global" Petr Vorel
2024-08-14  7:45   ` [LTP] " Petr Vorel
2024-08-14  8:27   ` Calum Mackay via ltp
2024-08-14 10:09     ` Petr Vorel
2024-08-14 10:09       ` [LTP] " Petr Vorel
2024-08-14 12:13       ` Calum Mackay
2024-08-14 12:13         ` [LTP] " Calum Mackay via ltp
2024-08-14 12:10   ` Calum Mackay
2024-08-14 12:14   ` Calum Mackay
2024-08-14 12:14     ` [LTP] " Calum Mackay via ltp
2024-08-15  8:25 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.