🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #371

[Bug 300130] nfscl: EXCHANGE_ID verifier bump on every recovery causes client-replacement churn against Linux nfsd

#371
From: bugzilla-noreply
Date: Thu, 05 Nov 2026 13:29
39 lines
3805 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300130

--- Comment #6 from Nick <e@4779.name> ---
Attachment 276998's escalation clause is counterproductive under burst load;
superseded by a corrected patch (attached next) that keeps only the gate.

Further testing (same setup, sustained ~1.1k reads/s seeding/recheck load):
once a burst of hasexpired cycles occurs, cycles recur faster than the
counter's quiet-reset window, the escalation stays armed, and every setclient
bumps the verifier again — 13 client records destroyed and recreated within 10
minutes (server trace: 13 nfsd_clid_confirmed paired with 13 nfsd_cb_shutdown,
same owner hash). The escalation re-created the replacement storm inside
bursts.

The corrected patch is the pure gate: bump the verifier only while the clientid
has never been established in this clp's lifetime ((clp->nfsc_flags &
NFSCLFLAGS_HASCLIENTID) == 0). No counter, no escalation. The
stuck-confirmed-record case the escalation guarded against has not been
observed; if it ever is, the right valve is an extant-ClientID CreateSession
attempt inside nfscl_hasexpired(), not a verifier bump.

Verification of the pure gate (same load profile): zero client-record
replacements in server tracepoint windows, zero "Initiate recovery" prints and
zero amuled aborts over the first 33 minutes after boot under ~1.1k reads/s,
where the previous kernels churned continuously.

-- 
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-300130-227-uIf1ZFogu2@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-300130-227@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.bugs
Subject: [Bug 300130] nfscl: EXCHANGE_ID verifier bump on every recovery
 causes client-replacement churn against Linux nfsd
Date: Thu, 05 Nov 2026 13:29:54 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-bugs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300130-227-uIf1ZFogu2@https.bugs.freebsd.org/bugzilla/>
References: <bug-300130-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="30658"; 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=1793885394;
	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=CyzGjil4mgwFVT9AIn1o0mC3m8j0J16Fl5GcdFKoncI=;
	b=VkhSW9vMYkLu8bFy5n+Yh38EuY10/6Tkj3hlb9FaRuhWOBpPpmvJCYEVqshleqoSdcCkPe
	QGQgCfcHbHc5hGs0yerx2gv8CHHE5ueyvBaZHxZLJu+5GgAuhyIOorUnht9UuIk7rkO1WE
	wzqmwNxLtM63olZBEcitbHGEoPE8C7Thd/aNSRJzvxzdktpOae0asUnp7aZL7CjZuv9ZJn
	UgscPU7wGsWvF9HvmVe4sU0NKdmcgoQ/sAI9brU910bxroOupxu6wnm/wYa8gT8Q7TanKJ
	fitVqEXyMR5+aSSnjkRACHyk9RYI8WOv7rGT7Xgso7lqkiO/doQwlA62Etp+jA==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-300130-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes