Article View: linux.debian.kernel
Article #952Bug#1153524: [REGRESSION] nfsd: blocking NFSv4.2 LOCK never woken by CB_NOTIFY_LOCK since 6.12, cross-client waiters stall 30 s
From: Salvatore Bonaccorso
Date: Fri, 04 Dec 2026 14:20
Date: Fri, 04 Dec 2026 14:20
49 lines
4490 bytes
4490 bytes
Hi Jeff, hi Julien On Tue, Dec 01, 2026 at 05:08:26PM +0000, Julien Leclerc wrote: > Hi Jeff, > > Thanks for digging into this so quickly. Your explanation matches > everything we saw in the traces. > > I tested the four commits on top of v6.12.118, resolving the fs.h > conflict the same way (FOP_ASYNC_LOCK as (1 << 6)), on a separate test > setup: > > - Server: Debian 13, x86_64, v6.12.118 + the 4 commits, built with the > config of the Debian 6.12.118 kernel; export on ext4 with the same > options as our production server. > - Clients: two Debian 13 hosts (Debian 6.12.118), mounted with > vers=4.2. > - Test: client A holds an exclusive flock for 4 s, client B asks for > it 1 s later with flock -w 60. > > Debian 6.12.118 on the server (unpatched): > > A holds, B waits: 31.32 s, 31.37 s > B holds, A waits: 30.64 s > A holds, A waits: 3.59 s (same client, control) > > v6.12.118 + the 4 commits on the server: > > A holds, B waits: 3.16 s, 3.04 s, 2.98 s, 3.17 s > B holds, A waits: 2.99 s, 2.96 s > A holds, A waits: 2.98 s, 2.98 s (same client, control) > > The waiter now gets the lock as soon as it is released (the remaining > ~3 s is the holder's sleep). With the nfsd tracepoints enabled, the > LOCKU is followed by nfsd_cb_notify_lock and nfsd_cb_queue for the > waiting client, then nfsd_cb_notify_lock_done. A non-blocking request > (flock -n) still fails immediately. > > Tested-by: Julien Leclerc <julien.leclerc@saatchi.fr> > > Thanks again for the quick backport. Jeff, are you going to submit those? I would like to release 6.12.120 soon for trixie, and ideally I pick as well up those 4 commits to fix the regression Julien is seeing, and would want to make sure they get at least in in 6.12.121 later and we can drop those. Regards, Salvatore
Technical Details
Message-ID:
<O6CiJ-fWSG-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<O6CiJ-fWSG-3@gated-at.bofh.it> <O6CiJ-fWSG-5@gated-at.bofh.it> <O6CiJ-fWSG-7@gated-at.bofh.it> <O6CiJ-fWSG-9@gated-at.bofh.it> <O6CiJ-fWSG-7@gated-at.bofh.it> <O6CiJ-fWSG-9@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Salvatore Bonaccorso <carnil@debian.org> Newsgroups: linux.debian.bugs.dist,linux.debian.kernel Subject: Bug#1153524: [REGRESSION] nfsd: blocking NFSv4.2 LOCK never woken by CB_NOTIFY_LOCK since 6.12, cross-client waiters stall 30 s Date: Fri, 04 Dec 2026 15:20:01 +0100 Message-ID: <O6CiJ-fWSG-1@gated-at.bofh.it> References: <O6CiJ-fWSG-3@gated-at.bofh.it> <O6CiJ-fWSG-5@gated-at.bofh.it> <O6CiJ-fWSG-7@gated-at.bofh.it> <O6CiJ-fWSG-9@gated-at.bofh.it> <O6CiJ-fWSG-7@gated-at.bofh.it> <O6CiJ-fWSG-9@gated-at.bofh.it> X-Original-To: Julien Leclerc <julien.leclerc@saatchi.fr>, 1153524@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Dec 4 14:11:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1153524@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-kernel@lists.debian.org X-Debian-Pr-Message: followup 1153524 X-Debian-Pr-Package: src:linux X-Debian-Pr-Keywords: upstream X-Debian-Pr-Source: linux MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-User: carnil X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006934 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 49 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Jeff Layton <jlayton@kernel.org>, "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>, Chuck Lever <chuck.lever@oracle.com>, "regressions@lists.linux.dev" <regressions@lists.linux.dev> X-Original-Date: Fri, 4 Dec 2026 15:08:06 +0100 X-Original-Message-ID: <axLJRpxIRl8q4dcD@eldamar.lan> X-Original-References: <SADPR02MB57477008DD7FC05578586D9C93E84D2@SADPR02MB574770.namprd02.prod.outlook.com> <28b95155ac40f5435eb94f206ff1e35111ce481a.camel@kernel.org> <SADPR02MB574770634184F09AE9CDD2FE8AE8732@SADPR02MB574770.namprd02.prod.outlook.com> <SADPR02MB574770B2C27CA5277D9878958CE84D2@SADPR02MB574770.namprd02.prod.outlook.com> <SADPR02MB574770634184F09AE9CDD2FE8AE8732@SADPR02MB574770.namprd02.prod.outlook.com> <SADPR02MB574770B2C27CA5277D9878958CE84D2@SADPR02MB574770.namprd02.prod.outlook.com>