Re: [PATCH v4 03/21] nfs_common: add new NOTIFY4_* flags proposed in RFC8881bis

From: Jeff Layton

Date: Mon Jun 08 2026 - 12:57:49 EST


On Mon, 2026-06-08 at 12:23 -0400, Chuck Lever wrote:
> Unfortunately, reviewing this series slipped off my radar. I'm just now
> getting to it. I'm going to do this in order and some of the earlier
> reviews are cosmetic. But there are some significant changes needed
> later on, so I expect we'll need to redrive this series and punt it to
> v7.3.
>

That's reasonable. We had some unrelated new bugs crop up near the end
of the cycle that made it hard to get this in and tested properly. I'd
like to propose that we keep the VFS bits

> One thing you might update before you repost is to remove the "Acked-by:
> Chuck Lever" throughout the series.
>

Ok. I think b4 added that.

>
> Nit: the Subject: prefix should be "nfsd:" not "nfs_common:"
>

include/linux/sunrpc/xdrgen/nfs4_1.h is a shared header. Anna will
presumably need this patch as well.

>
> On Fri, May 22, 2026, at 8:28 AM, Jeff Layton wrote:
> > RFC8881bis adds some new flags to GET_DIR_DELEGATION that we very much
> > need to support.
>
> Nit: Let's say: "RFC8881bis adds new flags to GET_DIR_DELEGATION
> that later patches consume."
>
> One recent private comment to me was a question about whether we can
> trust the stability of the specification, which is still a WG document
> and has been for years. This patch's commit message should address
> that.
>

That's definitely an open question. We are definitely adopting these
changes before the ink is dry. We might have to modify things later,
especially once there is more client-side experience.

I'm open to verbiage suggestions here.


>
> > diff --git a/Documentation/sunrpc/xdr/nfs4_1.x
> > b/Documentation/sunrpc/xdr/nfs4_1.x
> > index 632f5b579c39..aa14b590b524 100644
> > --- a/Documentation/sunrpc/xdr/nfs4_1.x
> > +++ b/Documentation/sunrpc/xdr/nfs4_1.x
> > @@ -416,7 +416,21 @@ enum notify_type4 {
> > NOTIFY4_REMOVE_ENTRY = 2,
> > NOTIFY4_ADD_ENTRY = 3,
> > NOTIFY4_RENAME_ENTRY = 4,
> > - NOTIFY4_CHANGE_COOKIE_VERIFIER = 5
> > + NOTIFY4_CHANGE_COOKIE_VERIFIER = 5,
> > + /*
> > + * Added in NFSv4.1 bis document
> > + */
>
> I clarified this comment: "/* Proposed in RFC8881bis */"
>
> I rebuilt the generated source to confirm that it hasn't been altered
> by recent changes to xdrgen or this comment change. The only thing
> that changed in the output was the header's timestamp.
>

Sounds good.
--
Jeff Layton <jlayton@xxxxxxxxxx>