[nfsv4] Re: Clarification on delegation behavior for same-client conflicting OPEN

David Noveck <davenoveck@gmail.com> Sat, 08 August 2026 19:24 UTC

Return-Path: <davenoveck@gmail.com>
X-Original-To: nfsv4@mail2.ietf.org
Delivered-To: nfsv4@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 857661263DEC0 for <nfsv4@mail2.ietf.org>; Sat, 8 Aug 2026 12:24:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1786217082; bh=24SDq2UldTN8CYhTl26sAc7GhRf/YroLSu66oRLLs/c=; h=In-Reply-To:References:From:Date:Subject:To:Cc; b=WmP9x5z87luLegSisASWzxMHSPRBPTAO2vGC6V24XoGxKK1/PTGwNhRyc+M4f8ZOj vhPg0uZdvlvEOtchIPLhzece4WUXeScBkydvL9aUiynhOEe7gWaMW3vdCJ5F4y7Abf IUsn2bayjlAPNvYc8Rq1/EaUswdvi/8MlfznshvM=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3agdb17LHxfI for <nfsv4@mail2.ietf.org>; Sat, 8 Aug 2026 12:24:40 -0700 (PDT)
Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id A43C01263DEB0 for <nfsv4@ietf.org>; Sat, 8 Aug 2026 12:24:40 -0700 (PDT)
Received: by mail-oi1-x22f.google.com with SMTP id 5614622812f47-4a483a552efso113321b6e.1 for <nfsv4@ietf.org>; Sat, 08 Aug 2026 12:24:40 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1786217074; cv=none; d=google.com; s=arc-20260327; b=BE6lfu1yO61kFMSLqVsweSqXtNBHAmtDECMlst44vDMm46oUZ1gHWlNbBh5A7XiGMn vT0BATpKKdJsGCZHp+UBzuUR4oplasuTQi/cPQEUKmoQlyU64gu6OlOyxbbTs/F1CzM3 HUZ684WcfWMsip/NUfnKQcdIRQEONgwqoYHV5WOwqkS4torRCdSkWqMs8U/h+kq+jzSu BPHLS2fjADke+gt+/Zb5IssGMf5E/rI7N8pmrbx44f+d928icj2GM+DzsMioxCiP1zLa W3MYQ0LwV1ADEfNiNypPDIAxwptgHnh5S6kUE6JMWU/CVRyx2f2rWaGZcM50+1tMCzRH 2rUw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:dkim-signature; bh=yLKauN1ck53u32UFHPn7kBkk2sUV3oPJDBo3TRyZbQs=; fh=ZWHypW7JPhyUO25rx4Ox+xzQdq0v/0phwADvWvFo7CE=; b=bZbop8b5yUjXXFiBOp7akDu9XX29Ahh2eXwK9svKAZ/ia+Q3cvYhQ7XUBqNdBAudKf PKaWrMZ7ILuvfJXx65LbOO9dOduXfnGGU2j3MUnItcUWe8AMlBfriot9RcxDbfHB9KOH dMCY7PDpTGHRPRTqEyqw71ZPAhyvHjsS8uWyjV6Nm09nauO8wbIfOBx9zmyGDeYzF/FJ p/4HU9h/oH08cB/NQHHOrTCXvSoqgXnp5AR/gOP2/UFQ+TGs0o0c3fZ6Iv30q0eLB69j M2zGdGeXsjRTQdnJ1PHPjBivbazfQTe31yWSpJEAbuletwkiAoumOXom4z7gdSsq7Hqo 5Mdw==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786217074; x=1786821874; darn=ietf.org; h=content-type:cc:to:subject:message-id:date:from:references :in-reply-to:mime-version:from:to:cc:subject:date:message-id :reply-to:content-type; bh=yLKauN1ck53u32UFHPn7kBkk2sUV3oPJDBo3TRyZbQs=; b=Reti8ftc4nHY7gVFOwbr3AQcqF1Vmdp0NXVdeqb3UUaD/ygGoyU2vdjdNz6xRR6+Bp I2p/2ClkY0f8ajNPXMPspf4kHPLG6tKesh3XfrjCbjTs1s4BtFVAQxurkJQ8lmc2auBx EHCRHwxyoULpP/1slUAnYGed36nFoOd1K1QSZvUcJ6EfQVnddimR+fP6nAdLEykD49iY iLaIpFdonvEzHZghKIx0eDkWYCVZZrnGYYkmFUKtkn7SBJGl9cx0ExltxpS5h67RThJG NS//Am4qIuBQr1dlDBUWEiP3tReFSIboQUjWI8A1Z05d90sqW/dQHD61QamNOb98erIp 3HKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786217074; x=1786821874; h=content-type:cc:to:subject:message-id:date:from:references :in-reply-to:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=yLKauN1ck53u32UFHPn7kBkk2sUV3oPJDBo3TRyZbQs=; b=sd9L3WIyoSl/a5TWiEww2n45jlMtL6NzcRNUDiKPlKqk0mm5UVnZsOIkOq8BsXAzKm mYyGSA+gKIdbwoRXdmMPfTIrz2irBMBps8+FRRBlv5Ey4LVFshWzvHf/LERhQdt31PYi P/kFgGDOVhWiPR0NZti8wYeIfeSc927PjOhBTdOQK47Wm2o7cZNBhaQneQShDHwLXbFo CJ2hu54j3J2eAb2cOwoaYa4A3Xhks1p97mfowl07IvzddeJgKy2B8kipe6OYmORAwtfj KuTKvTgEcX2OHmpFxwJxbmbr5ntL3BB9otYOIUIB8x3fDr4WdzbYpVXeS9aDWAMmzR6x BeYQ==
X-Forwarded-Encrypted: i=1; AHgh+RpuzLPqhJtMEU0kLYC3hkjkRq6du/hMynHWEwdn4EhRcqe9DIe7Nwf0fMUK9sJN+TaMxfmi9A==@ietf.org
X-Gm-Message-State: AOJu0YzlgnDLwDfpzGP6P4pnnJdFiGSl08/SMhZldjV/OS+/V6ksdxTE 6Ffv8kU3Yqb727tNgwZmZ0MYfuPglMehXIPE1IhLnTWOTjTudTR2uIPrZhvs/XSBOfQ634wWvK5 CZ7sn4K8pBzWPRFF3jAbfT7Fy07jT1BA=
X-Gm-Gg: AR+sD13rczL48M+eZMv6DHYGeGcFPhq/Uhgk8x+kzWnQYlQWZ7EkpgLaWTU+gKlF17m pLS+M6oEgFJvza7V+NKuKKx6M2w+ST7Y31O0BO7myRgN8MeGvPKY3QVknrgP+4P7MdVaa+3rAdF mQBA6xT1lxnPJR5IA3GH0OaFXYU2C6NpYYUNTegerB0QJZLRPC3Hiq9x4alN46buJWhtWErvW/6 VecpN0OlyXH7Ica0CSmylYgPF+jzOKnKcxnNw20XXpbPwi2i0JtznvAzlPaalliJRg5l568meRt nY31r63/YezAbeZ0FHuexUuCIEQx3hK4ZRvcEzXlQ4TQW4aBJN6VZZWW3iorKXjZhsoDz/Y1XND r
X-Received: by 2002:a05:6808:238d:b0:492:5684:7ab3 with SMTP id 5614622812f47-4afadf17a51mr17602422b6e.21.1786217074245; Sat, 08 Aug 2026 12:24:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a02:c84e:0:b0:5ee:3c7a:51ac with HTTP; Sat, 8 Aug 2026 12:24:33 -0700 (PDT)
In-Reply-To: <b1451224bfa93fc8a6f94e4da2fe327fe366cd0f.camel@poochiereds.net>
References: <DM4PR15MB62545DA30C0BB065DE454D9E9AFBA@DM4PR15MB6254.namprd15.prod.outlook.com> <b1451224bfa93fc8a6f94e4da2fe327fe366cd0f.camel@poochiereds.net>
From: David Noveck <davenoveck@gmail.com>
Date: Sat, 08 Aug 2026 15:24:33 -0400
X-Gm-Features: AUfX_mySNIOE23RSBPjQIldjlY1iG_Qi_3f6BnXLWuHePR76cCmdXZ2Co4ftYVg
Message-ID: <CADaq8jff-3R0CpoX_EXGcNK3Pj08mGhKtuyYL6z-Obik8XxNtw@mail.gmail.com>
To: Jeff Layton <jlayton@poochiereds.net>
Content-Type: multipart/alternative; boundary="00000000000033c6b006588e1257"
Message-ID-Hash: RC7XGEFOVHAUWHVNIGH4OZV6PKMYNWVZ
X-Message-ID-Hash: RC7XGEFOVHAUWHVNIGH4OZV6PKMYNWVZ
X-MailFrom: davenoveck@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-nfsv4.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Suhas Athani <Suhas.Athani@ibm.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>, Kaleb KEITHLEY <kkeithle@ibm.com>, Frank Filz <ffilz@ibm.com>, Rajesh Prasad <Rajesh.Prasad3@ibm.com>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [nfsv4] Re: Clarification on delegation behavior for same-client conflicting OPEN
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/O2mugstGeeWWuhU2wfybi5DJNJI>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Owner: <mailto:nfsv4-owner@ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Subscribe: <mailto:nfsv4-join@ietf.org>
List-Unsubscribe: <mailto:nfsv4-leave@ietf.org>

Although this issue has been satisfactorily resolved via the discussion in
the list,  I think it is reasonable to update the specs to clarify the
meaning of "conflicting" and the proper relationship of READ opens and
WRITE delegations.  I expect to address this in rfc8881bis-10









On Friday, October 31, 2025, Jeff Layton <jlayton@poochiereds.net> wrote:

> On Thu, 2025-10-30 at 17:35 +0000, Suhas Athani via Devel wrote:
> >
> > Hello NFS community,
> >
> > We’re seeking clarification on server behavior for OPEN delegations when
> the same client issues a potentially conflicting OPEN on a file for which
> it already holds a delegation.
> >
> > Context and RFC references
> >
> >  *
> >    RFC 8881(10.4 Open Delegation)
> >     -
> >       “There must be no current OPEN conflicting with the requested
> delegation.”
> >     -
> >       “There should be no current delegation that conflicts with the
> delegation being requested.”
> >
> >  *
> >    RFC 8881(10.4.1 Open Delegation and Data Caching)
> >     -
> >       For delegation handling, READs/WRITEs without OPEN are treated as
> the functional equivalents of a corresponding type of OPEN, and the server
> “can use the client ID associated with the current session to determine if
> the operation has been done by the holder of the delegation (in which case,
> no recall is necessary) or by another client (in which case, the delegation
> must be recalled and I/O not proceed until the delegation is returned or
> revoked).”
> >
> >  *
> >    Historical reference: RFC 5661 (obsoleted by RFC 8881) carries the
> same sections 10.4 and 10.4.1
> > Questions
> > 1) Same-client conflicting OPEN:
> >
> >  *
> >    If a client holds an OPEN_DELEGATE_READ on a file and then the same
> client issues an OPEN that requires write access (or otherwise conflicts),
> should the server:
> >  *
> >
> >
> >
> >
> >     -
> >       Allow the OPEN to complete immediately without recalling the
> delegation (i.e., no recall necessary for same-client), per RFC 8881
> 10.4.1; or
> >
> >  *
> >    Recall the delegation anyway and delay the operation until
> DELEGRETURN?
>
> The Linux NFS server allows the open to complete, which I think has
> been the consensus around this point in earlier discussions. Basically,
> activity from the holder of a delegation is not considered
> "conflicting". That client presumably knows about any changes and can
> update its cache accordingly, so we don't need to recall the delegation
> in this case.
>
> > 2) OPEN_DELEGATE_WRITE symmetry:
> >
> >  *
> >    If a client holds an OPEN_DELEGATE_WRITE and then the same client
> issues an OPEN that requires read access (or otherwise changes share
> access/deny modes), should the server similarly allow the operation
> to proceed without recall, or recall and delay?
>
> WRITE delegations should probably have been called READ_WRITE. The
> Linux NFS server and the spec treat them as a superset of a READ
> delegation. So, opening the file for READ when you hold a WRITE deleg
> is not considered conflicting activity.
>
> > 3) Any updates since RFC 5661:
> >
> >  *
> >    Are there clarifications or consensus updates in RFC 8881 (vs.
> RFC 5661) or later documents that alter expected behavior in
> the same-client case?
> >
> >
> > Thank you in advance for your time and insights. Looking forward to your
> guidance and clarification on these points.
> >
> > Regards,
> > Suhas Athani
> > NFS-ganesha Team
> >
> >
> >
> >
> > _______________________________________________
> > Devel mailing list -- devel@lists.nfs-ganesha.org
> > To unsubscribe send an email to devel-leave@lists.nfs-ganesha.org
>
> --
> Jeff Layton <jlayton@poochiereds.net>
>
> _______________________________________________
> nfsv4 mailing list -- nfsv4@ietf.org
> To unsubscribe send an email to nfsv4-leave@ietf.org
>