🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.fs
Article #4

[Bug 298350] Need NFSv4.1 WANT_DELEGATION op support

#4
From: bugzilla-noreply
Date: Wed, 14 Oct 2026 16:57
28 lines
3157 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298350

--- Comment #4 from Lionel Cons <lionelcons1972@gmail.com> ---
I took a look why SETATTR is causing so many CB_RECALLS.
https://github.com/freebsd/freebsd-src/blob/main/sys/fs/nfsserver/nfs_nfsdstate.c#L5078
has this:
```
        if (NFSISSET_ATTRBIT(attrbitp, NFSATTRBIT_OWNER) ||
            NFSISSET_ATTRBIT(attrbitp, NFSATTRBIT_OWNERGROUP) ||
            NFSISSET_ATTRBIT(attrbitp, NFSATTRBIT_MODE) ||
            NFSISSET_ATTRBIT(attrbitp, NFSATTRBIT_ACL))
```
As a consequence FATTR4_SIZE, FATTR4_ACL, FATTR4_DACL, FATTR4_MODE,
FATTR4_OWNER, FATTR4_OWNER_GROUP all trigger a CB_RECALL.

While this might not be an issue for Linux clients, Windows and OSX clients
either send FATTR4_ACL/FATTR4_DACL or FATTR4_MODE directly *after* OPEN,
triggering a CB_RECALL and do not have a delegation after that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-298350-3630-Yxsw6KnzFT@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-298350-3630@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.fs
Subject: [Bug 298350] Need NFSv4.1 WANT_DELEGATION op support
Date: Wed, 14 Oct 2026 16:57:25 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-fs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-298350-3630-Yxsw6KnzFT@https.bugs.freebsd.org/bugzilla/>
References: <bug-298350-3630@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="57121"; mail-complaints-to="news-admin@muc.de"
X-Original-To: fs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1791997044;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=HoeN0tPsJ2lGtlf8DczjjVv5yJgdyalD9jRqnODGlPs=;
	b=NdNGqwhk7yfROClnOXc5ilyKEgr7nb+Mq6Ts0lP1SrDlC6lFhky+lXcCa/Ju8uIVGgEY8h
	fH+piCW3HkredZ/zAgrJVdDgSY6GDa6IwX2KTcDDD9RFH/2/XUxpKhg5J1IhUGMELGDD1B
	DEB2jsKIvQ68R+UZgRo6OWgsqhI6jRUw6Orx2KRtuS8H0Prn41NuJuJW5ERJ4rJxWKJOmN
	H9eIkL7GfT9aEUxO5mLerx1cIueYYdKIlgxhBJ567RZJ2hGC6t5ylS12KlNMZ/Z1lCMCVF
	imA1EXX8LJixQwHO6Iu/BSUPizjE/5DV9vk14URQ9lNCLD6fxhMP/QfgJNVyng==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-298350-3630@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes