From: Petr Vorel <pvorel@suse.cz>
To: Chuck Lever III <chuck.lever@oracle.com>
Cc: Calum Mackay <calum.mackay@oracle.com>,
linux-stable <stable@vger.kernel.org>,
Trond Myklebust <trondmy@hammerspace.com>,
Anna Schumaker <anna@kernel.org>,
Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
"kernel-team@fb.com" <kernel-team@fb.com>,
"ltp@lists.linux.it" <ltp@lists.linux.it>,
Avinesh Kumar <akumar@suse.de>, Neil Brown <neilb@suse.de>,
Sherry Yang <sherry.yang@oracle.com>,
Josef Bacik <josef@toxicpanda.com>,
Jeff Layton <jlayton@kernel.org>
Subject: Re: [LTP] [PATCH 1/1] nfsstat01: Update client RPC calls for kernel 6.9
Date: Mon, 8 Jul 2024 06:02:38 +0200 [thread overview]
Message-ID: <20240708040238.GA117694@pevik> (raw)
In-Reply-To: <296EA0E6-0E72-4EA1-8B31-B025EB531F9B@oracle.com>
Hi all,
> > On Jul 2, 2024, at 6:55 PM, Calum Mackay <calum.mackay@oracle.com> wrote:
> > To clarify…
> > On 02/07/2024 5:54 pm, Calum Mackay wrote:
> >> hi Petr,
> >> I noticed your LTP patch [1][2] which adjusts the nfsstat01 test on v6.9 kernels, to account for Josef's changes [3], which restrict the NFS/RPC stats per-namespace.
> >> I see that Josef's changes were backported, as far back as longterm v5.4,
> > Sorry, that's not quite accurate.
> > Josef's NFS client changes were all backported from v6.9, as far as longterm v5.4.y:
> > 2057a48d0dd0 sunrpc: add a struct rpc_stats arg to rpc_create_args
> > d47151b79e32 nfs: expose /proc/net/sunrpc/nfs in net namespaces
> > 1548036ef120 nfs: make the rpc_stat per net namespace
> > Of Josef's NFS server changes, four were backported from v6.9 to v6.8:
> > 418b9687dece sunrpc: use the struct net as the svc proc private
> > d98416cc2154 nfsd: rename NFSD_NET_* to NFSD_STATS_*
> > 93483ac5fec6 nfsd: expose /proc/net/sunrpc/nfsd in net namespaces
> > 4b14885411f7 nfsd: make all of the nfsd stats per-network namespace
> > and the others remained only in v6.9:
> > ab42f4d9a26f sunrpc: don't change ->sv_stats if it doesn't exist
> > a2214ed588fb nfsd: stop setting ->pg_stats for unused stats
> > f09432386766 sunrpc: pass in the sv_stats struct through svc_create_pooled
> > 3f6ef182f144 sunrpc: remove ->pg_stats from svc_program
> > e41ee44cc6a4 nfsd: remove nfsd_stats, make th_cnt a global counter
> > 16fb9808ab2c nfsd: make svc_stat per-network namespace instead of global
> > I'm wondering if this difference between NFS client, and NFS server, stat behaviour, across kernel versions, may perhaps cause some user confusion?
> As a refresher for the stable folken, Josef's changes make
> nfsstats silo'd, so they no longer show counts from the whole
> system, but only for NFS operations relating to the local net
> namespace. That is a surprising change for some users, tools,
> and testing.
> I'm not clear on whether there are any rules/guidelines around
> LTS backports causing behavior changes that user tools, like
> nfsstat, might be impacted by.
> The client-side nfsstat changes are fully backported to all
> TS kernels. But should they have been?
> The server-side nfsstat changes appear in only v6.9. Should
> they be backported to the other LTS kernels, or not?
First, thanks a lot for having a look into the issue.
It looks to me as a functional change, thus I would not backport
changes unless changes they are needed to be backported (part some larger fix).
Thus maybe revert?
And if backported, I would expect changes on both sides (client and server)
would be backported (not just server side).
Kind regards,
Petr
> >> so your check for kernel version "6.9" in the test may need to be adjusted, if LTP is intended to be run on stable kernels?
> >> best wishes,
> >> calum.
> >> [1] https://lore.kernel.org/ltp/20240620111129.594449-1-pvorel@suse.cz/
> >> [2] https://patchwork.ozlabs.org/project/ltp/ patch/20240620111129.594449-1-pvorel@suse.cz/
> >> [3] https://lore.kernel.org/linux-nfs/ cover.1708026931.git.josef@toxicpanda.com/
WARNING: multiple messages have this Message-ID (diff)
From: Petr Vorel <pvorel@suse.cz>
To: Chuck Lever III <chuck.lever@oracle.com>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
Neil Brown <neilb@suse.de>, Jeff Layton <jlayton@kernel.org>,
Sherry Yang <sherry.yang@oracle.com>,
linux-stable <stable@vger.kernel.org>,
Josef Bacik <josef@toxicpanda.com>,
Anna Schumaker <anna@kernel.org>,
Trond Myklebust <trondmy@hammerspace.com>,
"kernel-team@fb.com" <kernel-team@fb.com>,
Calum Mackay <calum.mackay@oracle.com>,
"ltp@lists.linux.it" <ltp@lists.linux.it>
Subject: Re: [LTP] [PATCH 1/1] nfsstat01: Update client RPC calls for kernel 6.9
Date: Mon, 8 Jul 2024 06:02:38 +0200 [thread overview]
Message-ID: <20240708040238.GA117694@pevik> (raw)
In-Reply-To: <296EA0E6-0E72-4EA1-8B31-B025EB531F9B@oracle.com>
Hi all,
> > On Jul 2, 2024, at 6:55 PM, Calum Mackay <calum.mackay@oracle.com> wrote:
> > To clarify…
> > On 02/07/2024 5:54 pm, Calum Mackay wrote:
> >> hi Petr,
> >> I noticed your LTP patch [1][2] which adjusts the nfsstat01 test on v6.9 kernels, to account for Josef's changes [3], which restrict the NFS/RPC stats per-namespace.
> >> I see that Josef's changes were backported, as far back as longterm v5.4,
> > Sorry, that's not quite accurate.
> > Josef's NFS client changes were all backported from v6.9, as far as longterm v5.4.y:
> > 2057a48d0dd0 sunrpc: add a struct rpc_stats arg to rpc_create_args
> > d47151b79e32 nfs: expose /proc/net/sunrpc/nfs in net namespaces
> > 1548036ef120 nfs: make the rpc_stat per net namespace
> > Of Josef's NFS server changes, four were backported from v6.9 to v6.8:
> > 418b9687dece sunrpc: use the struct net as the svc proc private
> > d98416cc2154 nfsd: rename NFSD_NET_* to NFSD_STATS_*
> > 93483ac5fec6 nfsd: expose /proc/net/sunrpc/nfsd in net namespaces
> > 4b14885411f7 nfsd: make all of the nfsd stats per-network namespace
> > and the others remained only in v6.9:
> > ab42f4d9a26f sunrpc: don't change ->sv_stats if it doesn't exist
> > a2214ed588fb nfsd: stop setting ->pg_stats for unused stats
> > f09432386766 sunrpc: pass in the sv_stats struct through svc_create_pooled
> > 3f6ef182f144 sunrpc: remove ->pg_stats from svc_program
> > e41ee44cc6a4 nfsd: remove nfsd_stats, make th_cnt a global counter
> > 16fb9808ab2c nfsd: make svc_stat per-network namespace instead of global
> > I'm wondering if this difference between NFS client, and NFS server, stat behaviour, across kernel versions, may perhaps cause some user confusion?
> As a refresher for the stable folken, Josef's changes make
> nfsstats silo'd, so they no longer show counts from the whole
> system, but only for NFS operations relating to the local net
> namespace. That is a surprising change for some users, tools,
> and testing.
> I'm not clear on whether there are any rules/guidelines around
> LTS backports causing behavior changes that user tools, like
> nfsstat, might be impacted by.
> The client-side nfsstat changes are fully backported to all
> TS kernels. But should they have been?
> The server-side nfsstat changes appear in only v6.9. Should
> they be backported to the other LTS kernels, or not?
First, thanks a lot for having a look into the issue.
It looks to me as a functional change, thus I would not backport
changes unless changes they are needed to be backported (part some larger fix).
Thus maybe revert?
And if backported, I would expect changes on both sides (client and server)
would be backported (not just server side).
Kind regards,
Petr
> >> so your check for kernel version "6.9" in the test may need to be adjusted, if LTP is intended to be run on stable kernels?
> >> best wishes,
> >> calum.
> >> [1] https://lore.kernel.org/ltp/20240620111129.594449-1-pvorel@suse.cz/
> >> [2] https://patchwork.ozlabs.org/project/ltp/ patch/20240620111129.594449-1-pvorel@suse.cz/
> >> [3] https://lore.kernel.org/linux-nfs/ cover.1708026931.git.josef@toxicpanda.com/
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2024-07-08 4:02 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-02 16:54 [LTP] [PATCH 1/1] nfsstat01: Update client RPC calls for kernel 6.9 Calum Mackay
2024-07-02 16:54 ` Calum Mackay via ltp
2024-07-02 22:55 ` Calum Mackay
2024-07-02 22:55 ` Calum Mackay via ltp
2024-07-05 14:19 ` Chuck Lever III
2024-07-05 14:19 ` Chuck Lever III via ltp
2024-07-06 7:11 ` Greg KH
2024-07-06 7:11 ` Greg KH
2024-07-06 7:46 ` Sherry Yang
2024-07-06 7:46 ` Sherry Yang via ltp
2024-07-08 10:36 ` Greg KH
2024-07-08 10:36 ` Greg KH
2024-07-08 17:49 ` Chuck Lever III
2024-07-08 17:49 ` Chuck Lever III via ltp
2024-07-09 6:48 ` Cyril Hrubis
2024-07-09 6:48 ` Cyril Hrubis
2024-07-11 21:18 ` Jeff Layton
2024-07-11 21:18 ` Jeff Layton
2024-07-11 22:58 ` NeilBrown
2024-07-11 22:58 ` NeilBrown
2024-07-12 0:40 ` Jeff Layton
2024-07-12 0:40 ` Jeff Layton
2024-07-12 6:12 ` NeilBrown
2024-07-12 6:12 ` NeilBrown
2024-07-12 10:16 ` Jeff Layton
2024-07-12 10:16 ` Jeff Layton
2024-07-12 11:07 ` Petr Vorel
2024-07-12 11:07 ` Petr Vorel
2024-07-12 14:03 ` Chuck Lever III
2024-07-12 14:03 ` Chuck Lever III via ltp
2024-07-12 11:13 ` NeilBrown
2024-07-12 11:13 ` NeilBrown
2024-08-14 20:55 ` Petr Vorel
2024-08-14 20:55 ` Petr Vorel
2024-08-14 22:17 ` NeilBrown
2024-08-14 22:17 ` NeilBrown
2024-08-15 6:53 ` Petr Vorel
2024-08-15 6:53 ` Petr Vorel
2024-07-12 13:45 ` Thorsten Leemhuis
2024-07-12 13:45 ` Thorsten Leemhuis
2024-07-12 14:07 ` Jeff Layton
2024-07-12 14:07 ` Jeff Layton
2024-07-08 4:02 ` Petr Vorel [this message]
2024-07-08 4:02 ` Petr Vorel
-- strict thread matches above, loose matches on Subject: below --
2024-06-20 11:11 Petr Vorel
2024-06-20 11:13 ` Petr Vorel
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=20240708040238.GA117694@pevik \
--to=pvorel@suse.cz \
--cc=akumar@suse.de \
--cc=anna@kernel.org \
--cc=calum.mackay@oracle.com \
--cc=chuck.lever@oracle.com \
--cc=jlayton@kernel.org \
--cc=josef@toxicpanda.com \
--cc=kernel-team@fb.com \
--cc=linux-nfs@vger.kernel.org \
--cc=ltp@lists.linux.it \
--cc=neilb@suse.de \
--cc=sherry.yang@oracle.com \
--cc=stable@vger.kernel.org \
--cc=trondmy@hammerspace.com \
/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 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.