mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Chuck Lever" <cel@kernel.org>
To: "Jeff Layton" <jlayton@kernel.org>, NeilBrown <neil@brown.name>,
	"Olga Kornievskaia" <okorniev@redhat.com>,
	"Dai Ngo" <Dai.Ngo@oracle.com>, "Tom Talpey" <tom@talpey.com>
Cc: "Trond Myklebust" <trondmy@kernel.org>,
	"Anna Schumaker" <anna@kernel.org>,
	"Steve Dickson" <steved@redhat.com>,
	linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 3/4] nfsd: implement server-stats-get netlink handler
Date: Wed, 17 Jun 2026 14:46:48 -0400	[thread overview]
Message-ID: <728ef156-fd4c-4046-a4e3-cced09102db7@app.fastmail.com> (raw)
In-Reply-To: <9dc8568569c5f169f8cdf5fe379809fd94a154aa.camel@kernel.org>



On Wed, Jun 17, 2026, at 1:52 PM, Jeff Layton wrote:
> On Wed, 2026-06-17 at 11:25 -0400, Jeff Layton wrote:
>> On Wed, 2026-06-17 at 09:18 -0400, Chuck Lever wrote:
>> > 
>> > On Wed, Jun 17, 2026, at 7:07 AM, Jeff Layton wrote:

>> > > Is there something that accesses this today that I'm not aware of? If
>> > > not, is there some future intent to add this to nfsstat?
>> > 
>> > I think nfsstat should display the wdeleg-getattr field. It has simply
>> > been forgotten.
>> > 
>> 
>> Ok. I'll plan to add it to the interface and send it in v5. nfs-utils
>> will need a follow-on patch to display the value. No promises on when
>> I'll do that, but it shouldn't be too hard.
>
> I have a drafted patch, but I'm not thrilled with it. wdeleg_getattr is
> weird in that it's not a statistic about server-side protocol
> operations. So, it ends up sort of sitting off on its own in nfsstat.
>
> What would you (and Dai) think about instead keeping and exposing
> server-side callback call counts? Then we could just add a new section
> to nfsstat server-side output with all of the callback operation counts
> in it. wdeleg_getattr would just be the count for CB_GETATTRs.
>
> Thoughts?

That sounds ideal.


-- 
Chuck Lever

  reply	other threads:[~2026-06-17 18:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-16 12:45 [PATCH v4 0/4] nfsd/sunrpc: convert nfsstat server-side interfaces to use netlink Jeff Layton
2026-06-16 12:45 ` [PATCH v4 1/4] sunrpc: add per-netns per-procedure call counts to svc_stat Jeff Layton
2026-06-16 23:55   ` Chuck Lever
2026-06-17 11:04     ` Jeff Layton
2026-06-16 12:45 ` [PATCH v4 2/4] sunrpc: use per-net counts in svc_seq_show() Jeff Layton
2026-06-16 12:45 ` [PATCH v4 3/4] nfsd: implement server-stats-get netlink handler Jeff Layton
2026-06-17  0:57   ` Chuck Lever
2026-06-17 11:07     ` Jeff Layton
2026-06-17 13:18       ` Chuck Lever
2026-06-17 15:25         ` Jeff Layton
2026-06-17 17:52           ` Jeff Layton
2026-06-17 18:46             ` Chuck Lever [this message]
2026-06-16 12:45 ` [PATCH v4 4/4] sunrpc: remove unused svc_version vs_count field Jeff Layton

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=728ef156-fd4c-4046-a4e3-cced09102db7@app.fastmail.com \
    --to=cel@kernel.org \
    --cc=Dai.Ngo@oracle.com \
    --cc=anna@kernel.org \
    --cc=jlayton@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neil@brown.name \
    --cc=okorniev@redhat.com \
    --cc=steved@redhat.com \
    --cc=tom@talpey.com \
    --cc=trondmy@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

Powered by JetHome