Linux NFS development
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@kernel.org>
To: Chuck Lever III <chuck.lever@oracle.com>,
	Josef Bacik <josef@toxicpanda.com>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH v3 00/10] Make nfsd stats visible in network ns
Date: Fri, 26 Jan 2024 12:35:22 -0500	[thread overview]
Message-ID: <66c6747b049a2f8691e331959ff7d96ebac62140.camel@kernel.org> (raw)
In-Reply-To: <042AE6F1-DA11-4768-8135-CD3C7762CF77@oracle.com>

On Fri, 2024-01-26 at 16:09 +0000, Chuck Lever III wrote:
> 
> > On Jan 26, 2024, at 10:39 AM, Josef Bacik <josef@toxicpanda.com> wrote:
> > 
> > v1: https://lore.kernel.org/linux-nfs/cover.1706124811.git.josef@toxicpanda.com/
> > v2: https://lore.kernel.org/linux-nfs/cover.1706212207.git.josef@toxicpanda.com/
> > 
> > NOTE: there's still one nfs change in here and it's where I dropped pg_stats, I
> > assume that's ok for this series, but I can break it out and then follow up with
> > a removal later if necessary.
> 
> If that's for the NFSv4 callback service, I think that's
> OK for me to take through the NFSD tree. An Ack from the
> client maintainers would be lovely, but is not required.
> 
> If Jeff agrees, I'd like to take v3 for v6.9, and then
> Jeff (or I) can follow up with a patch fixing the thread
> count stat. Jeff?
> 
> 

Yep. This looks great for v6.9. You can add:

Reviewed-by: Jeff Layton <jlayton@kernel.org>

> > v2->v3:
> > - Split out the nfs and nfsd related changes into their own patches.
> > - Dropped the change adding sv_stats throuch svc_create()
> > - Changed the th_cnt to be global, re-arranged it's location.
> > 
> > v1->v2:
> > - rework the sunprc service creation to take a pointer to the sv_stats.
> > - dropped ->pg_stats from the svc_program.
> > - converted all of the nfsd global stats to per-network namespace.
> > - added the ability to point at a specific rpc_stat for rpc program creation.
> > - converted the rpc stats for nfs to per-network namespace.
> > 
> > Josef Bacik (10):
> >  sunrpc: don't change ->sv_stats if it doesn't exist
> >  nfs: 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/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            | 52 ++++++++++++----------------
> > fs/nfsd/stats.h            | 70 +++++++++++++-------------------------
> > fs/nfsd/vfs.c              |  5 +--
> > include/linux/sunrpc/svc.h |  5 ++-
> > net/sunrpc/stats.c         |  2 +-
> > net/sunrpc/svc.c           | 39 +++++++++++++--------
> > 17 files changed, 126 insertions(+), 163 deletions(-)
> > 
> > -- 
> > 2.43.0
> > 
> 
> --
> Chuck Lever
> 
> 

-- 
Jeff Layton <jlayton@kernel.org>

      reply	other threads:[~2024-01-26 17:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-26 15:39 [PATCH v3 00/10] Make nfsd stats visible in network ns Josef Bacik
2024-01-26 15:39 ` [PATCH v3 01/10] sunrpc: don't change ->sv_stats if it doesn't exist Josef Bacik
2024-01-26 15:39 ` [PATCH v3 02/10] nfs: stop setting ->pg_stats for unused stats Josef Bacik
2024-01-26 15:39 ` [PATCH v3 03/10] sunrpc: pass in the sv_stats struct through svc_create_pooled Josef Bacik
2024-01-26 15:39 ` [PATCH v3 04/10] sunrpc: remove ->pg_stats from svc_program Josef Bacik
2024-01-26 15:39 ` [PATCH v3 05/10] sunrpc: use the struct net as the svc proc private Josef Bacik
2024-01-26 15:39 ` [PATCH v3 06/10] nfsd: rename NFSD_NET_* to NFSD_STATS_* Josef Bacik
2024-01-26 15:39 ` [PATCH v3 07/10] nfsd: expose /proc/net/sunrpc/nfsd in net namespaces Josef Bacik
2024-01-26 15:39 ` [PATCH v3 08/10] nfsd: make all of the nfsd stats per-network namespace Josef Bacik
2024-01-26 15:39 ` [PATCH v3 09/10] nfsd: remove nfsd_stats, make th_cnt a global counter Josef Bacik
2024-01-26 15:39 ` [PATCH v3 10/10] nfsd: make svc_stat per-network namespace instead of global Josef Bacik
2024-01-26 16:09 ` [PATCH v3 00/10] Make nfsd stats visible in network ns Chuck Lever III
2024-01-26 17:35   ` Jeff Layton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=66c6747b049a2f8691e331959ff7d96ebac62140.camel@kernel.org \
    --to=jlayton@kernel.org \
    --cc=chuck.lever@oracle.com \
    --cc=josef@toxicpanda.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox