[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAN-5tyF4=JC4gmFvb2tF-k+15=gzB7-gkW6mHuaA_8Gzr4dSrA@mail.gmail.com>
Date: Thu, 17 Oct 2024 18:39:34 -0400
From: Olga Kornievskaia <aglo@...ch.edu>
To: Jeff Layton <jlayton@...nel.org>
Cc: Chuck Lever <chuck.lever@...cle.com>, Neil Brown <neilb@...e.de>,
Olga Kornievskaia <okorniev@...hat.com>, Dai Ngo <Dai.Ngo@...cle.com>, Tom Talpey <tom@...pey.com>,
Jonathan Corbet <corbet@....net>, Trond Myklebust <trondmy@...nel.org>, Anna Schumaker <anna@...nel.org>,
Thomas Haynes <loghyr@...il.com>, linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-doc@...r.kernel.org
Subject: Re: [PATCH 0/6] nfsd: update the delstid patches for latest draft changes
Seeing strangeness in a network trace with this patch series where
SETATTR is sent with time_deleg_access and server is returning with
EINVAL. Test is open() with read delegation, triggering a cb_recall
via a local access. I can see that the client has changed from sending
just a delegreturn to sending a setattr+delegreturn. Is there no
server support and this is normal to return EINVAL.
On Mon, Oct 14, 2024 at 3:27 PM Jeff Layton <jlayton@...nel.org> wrote:
>
> This patchset is an update to the delstid patches that went into Chuck's
> nfsd-next branch recently. The original versions of the spec left out
> OPEN_DELEGATE_READ_ATTRS_DELEG and OPEN_DELEGATE_WRITE_ATTRS_DELEG. This
> set adds proper support for them.
>
> My suggestion is to drop these two patches from nfsd-next:
>
> 544c67cc0f26 nfsd: handle delegated timestamps in SETATTR
> eee2c04ca5c1 nfsd: add support for delegated timestamps
>
> ...and then apply this set on top of the remaining pile. The resulting
> set is a bit larger than the original, as I took the liberty of adding
> some more symbols to the autogenerated part of the spec.
>
> Signed-off-by: Jeff Layton <jlayton@...nel.org>
> ---
> Jeff Layton (6):
> nfsd: drop inode parameter from nfsd4_change_attribute()
> nfsd: switch to autogenerated definitions for open_delegation_type4
> nfsd: rename NFS4_SHARE_WANT_* constants to OPEN4_SHARE_ACCESS_WANT_*
> nfsd: prepare delegation code for handing out *_ATTRS_DELEG delegations
> nfsd: add support for delegated timestamps
> nfsd: handle delegated timestamps in SETATTR
>
> Documentation/sunrpc/xdr/nfs4_1.x | 22 ++++-
> fs/nfsd/nfs4callback.c | 42 ++++++++-
> fs/nfsd/nfs4proc.c | 26 ++++-
> fs/nfsd/nfs4state.c | 178 ++++++++++++++++++++++++++---------
> fs/nfsd/nfs4xdr.c | 57 ++++++++---
> fs/nfsd/nfs4xdr_gen.c | 19 +++-
> fs/nfsd/nfs4xdr_gen.h | 2 +-
> fs/nfsd/nfsd.h | 2 +
> fs/nfsd/nfsfh.c | 11 +--
> fs/nfsd/nfsfh.h | 3 +-
> fs/nfsd/state.h | 18 ++++
> fs/nfsd/xdr4cb.h | 10 +-
> include/linux/nfs4.h | 2 +-
> include/linux/sunrpc/xdrgen/nfs4_1.h | 35 ++++++-
> include/linux/time64.h | 5 +
> 15 files changed, 348 insertions(+), 84 deletions(-)
> ---
> base-commit: 9f8009c5be9367d01cd1627d6a379b4c642d8a28
> change-id: 20241014-delstid-bf05220ad941
>
> Best regards,
> --
> Jeff Layton <jlayton@...nel.org>
>
>
Powered by blists - more mailing lists