Article View: muc.lists.freebsd.bugs
Article #315[Bug 300380] NFSv4.2 server: NFSv4.1 FATTR4_SPACE_USED attribute after NFSv4.2 COPY+COMMIT returns value before COPY+COMMIT
From: bugzilla-noreply
Date: Sat, 31 Oct 2026 13:58
Date: Sat, 31 Oct 2026 13:58
40 lines
3303 bytes
3303 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300380
Bug ID: 300380
Summary: NFSv4.2 server: NFSv4.1 FATTR4_SPACE_USED attribute
after NFSv4.2 COPY+COMMIT returns value before
COPY+COMMIT
Product: Base System
Version: 16.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: roland.mainz@nrubsig.org
NFSv4.2 server: NFSv4.1 FATTR4_SPACE_USED attribute after NFSv4.2 COPY+COMMIT
returns value before COPY+COMMIT
We got several bug reports that the size accounting for sparse files reports
"weird" values when ms-nfs41-client uses a FreeBSD 16 machine as NFS server.
Quick check with wireshark shows that a normal GETATTR returns the correct
value in bytes, but after a NFSv4.2 COPY+COMMIT a GETATTR FATTR4_SPACE_USED
returns the old value *before* the COPY+COMMIT was done.
# uname -a
FreeBSD freebeastie001 16.0-CURRENT FreeBSD 16.0-CURRENT
main-n290446-0974ef03b43f GENERIC amd64
--
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-300380-227@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!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.bugs Subject: [Bug 300380] NFSv4.2 server: NFSv4.1 FATTR4_SPACE_USED attribute after NFSv4.2 COPY+COMMIT returns value before COPY+COMMIT Date: Sat, 31 Oct 2026 13:58:28 +0000 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-bugs@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <bug-300380-227@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="43113"; mail-complaints-to="news-admin@muc.de" X-Original-To: bugs@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793455108; 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; bh=5bWYfepDr+NT0r+d8jqh23eOMZVa9QZVp54KW8vRFsc=; b=Bc9PGNVepurbow1NFV37yuIN6ZWedWXenHqc8sa6DOg/ykm7hUQSpkYulxllaxqhD1TNeB 1+VcQ+oBYulKVeO2WXqVFVabqQU76r/WJ5K/rvBYYM7Bv5OUIxiRWzXmR8vP1XYprQXoD4 +tqzbDzIl1Ow3ON5g0hmi3fPzZlZ1/bCM62OPfi0EsFHqckwdA+D1xQrGb6qZJtjJPpe3R m4rLPiTeEO9RzM2HeSwzN94po8m8x55S1zLH+JOSU0r2DFNG5570UZyHJwrX+hAD1MDt6M Wsy9Kt3any5I0HeKL0flmM4XSUvAKnK6ew9lmBZGYPiqPsfSKMrMzn7GFm6xtg== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes