Article View: linux.kernel.netdev
Article #11263Re: [PATCH v3] sunrpc: fix lost wakeups when stopping service threads
From: Chuck Lever
Date: Wed, 04 Nov 2026 19:44
Date: Wed, 04 Nov 2026 19:44
20 lines
8027 bytes
8027 bytes
On Tue, 03 Nov 2026 13:19:14 +0100, Kal Cutter Conley wrote:
> Stopping NFS can leave rpc.nfsd 0 in an uninterruptible wait with
> this stack:
>
> svc_stop_kthreads [sunrpc]
> svc_set_num_threads [sunrpc]
> nfsd_svc [nfsd]
> write_threads [nfsd]
> nfsctl_transaction_write [nfsd]
>
> [...]
Applied to nfsd-testing, thanks!
[1/1] sunrpc: fix lost wakeups when stopping service threads
commit: ba6c77b2d53faed23912074f0853dc7b798b671d
--
Chuck Lever
Technical Details
Message-ID:
<179382147228.3451569.5508122836969560967.b4-ty@b4>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-356837-linux-kernel-netdev=dewy.ruReferences:
<20261103121915.25298-1-kalcutterc@nvidia.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-356837-linux-kernel-netdev=dewy.ru From: cel@kernel.org (Chuck Lever) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v3] sunrpc: fix lost wakeups when stopping service threads Date: Wed, 4 Nov 2026 14:44:45 -0500 Organization: Usenet Network Message-ID: <179382147228.3451569.5508122836969560967.b4-ty@b4> References: <20261103121915.25298-1-kalcutterc@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3488152"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:6mMkvSJHB6vLvetRrXHCRif81a0= sha256:oO1Lu/X5e1+psrgapiuZY9BAp1r3L9jQRv+qatoqMYY= sha1:BMfV1x3ou+DqKDSgzqrda4XQBdM= sha256:cCwlYavwTDmK6K50BKGkzeov0Xxf+hnZcOdij6Zk9Hk= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id E9BDC112D71; Thu, 5 Nov 2026 00:10:23 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tn8_QQepiwMU; Thu, 5 Nov 2026 00:10:20 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-356837-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 21A3C112D2C; Thu, 5 Nov 2026 00:10:10 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id E60CC61AFAF; Wed, 4 Nov 2026 20:25:12 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793821495; b=vazT9aAGlNZtfhwKK6eHoqnJ5alyJ+TO3SiEyU8DijXdxE8JBM8V127bRcIer1fOTlWc nPW67upO0gj4hkhmI2xd5KnsiGSNbxhCZnDYh31X4z/DaIZNcbybjYP9RhZRdeHkMpBjC JjmKhP8QKZAtdXwQZRMA35xtGSHutRwDEXIL6g7XOKC+N33bznLvxPIGJjPWHe4D5jlf4 w1utO+xP/VIu58cjQQY/djzQvtz4aeZlxntNL4GFJ419H3YfDKQgDsCMx2HOja2BB8Uhb U4X9K7+QUHNorxwRRXDqGW2oUUwu3XrGiF/VQ9ASSbiNUZHiKHnOb2+nz+2Pg/O61nA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793821495; h=X-Original-To:Received:Received:DKIM-Signature:From:To:Cc:Subject: Date:Message-ID:X-Mailer:In-Reply-To:References:X-Mailing-List: List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe: List-Owner:Precedence:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=2DIFJ5jJlYzJPMIdKPauqvXkqYFBoNwC9ez6FNjCYHo=; b=24W+6L+PIlvkAzMMA6y4hg5wx3j6O8TdmOAVcUXJWVuvkAZ0PNFjiYLoNO5VgnQmH8Ag w2ZZ24ZCGzjnbk7grbRn8oUIc8tZFPanU0LOLvI1T/75L0NJz4/cfYn6aSWSUgqQOTPzj bKBfi2jJayuj4NyPk3/F/74k6VrgwwS3uxVP561TUuyAMy1tOjwKVcHIpfh0l3hlIiUED 2bVLe6Bn0k9D7ep03umNvAqhW12KZdWSbH7A2oflNetce8X5XzjTNbSv6HcxCP/vHdJhp dE6VWMPR5IHPm59YHvGRFV+GZecbNLXlHqTPE0rvMcf+csS3x+9hlJ0u6Gal7m99njA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WPFcLzfV; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36B0E608AA32; Wed, 4 Nov 2026 19:44:55 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WPFcLzfV X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793821489; b=rthKtUytHbNLBB3zE8vupFxtAGqFYQ1IvCuRACBArlL80tCDqIgpnJKG+dGNcfcrmYV5 iNgI0t67gCRIpn66uJdOI5Cv8pzppkOR57BVhNyCMHNRVjXsBwiNXtTyyl/dUVVc79OBw nrGplqULhbPBCNMPo0t+zgpUKP+WE/FssDSQcPfKIsc0jZFQfZ/+EfbaYRhJqzWbsLaWc jEP8ieKjI/hPvbOKTIif0GxN2pkJWoSAmNMZrCDg/b/5D3gh3rYsPOViRyPKuG8EAbYiP ijqkYqP44XROoIwJrLcC8pXhgiI80SAJR/Ge4lRa961Kc3kGAlCQs1PM7zIZf73i0Bw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793821489; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=2DIFJ5jJlYzJPMIdKPauqvXkqYFBoNwC9ez6FNjCYHo=; b=0nqYzct48TELmjkG3kY4G+XkKAmuEdrZBi7uF5IpH8Xx0pSWlfr5haAHN5DI0TZM4Tq0 fjZypgz2mAhSjHn3OnYh9GZ1Feykc03xwzM8kAkVSkcslc1YMgYzfqbDSmlO1qCGkkFgO vsQqzzv1ZjlW0fLrMoB1Bb4B7/E7gJriYHxu4x4YhaYUstRq4qXsRFnqk2wvwnsAz2MMh qZxz6mCpt6v4/EnXeCq41NG6O6dKxMb+cEZqV/DMYhyJYz6WRbwOrUNl+4UFQsymi+NsK d4k0DJt6TQhK4lPCUOuqGaFIPKydULUswITOSmQTfbDsIrET8UdgBtby4HTOo+cobIw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=WPFcLzfV; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BB81607030D; Wed, 4 Nov 2026 19:44:49 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE5BA1F0093A; Wed, 4 Nov 2026 19:44:47 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793821489; bh=2DIFJ5jJlYzJPMIdKPauqvXkqYFBoNwC9ez6FNjCYHo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WPFcLzfVP97NGPz4uvfD0tn9TF3oxy56k585OeuIzguUPQaggjZVy88Ocm9si3KAv HjirZCHxtf8CmlysGGeGTR+lVLOxQOhUuaQa2kPDnnLuc7RZF7ZhDPThO8eJGFW+s1 SXZL8Yh1XKy6Yfz55+sG8WnlJ06y7qeKlt4+3ALvc4WcsjUqzizcg3/wadY1Ce0Aq1 /eRWEnrDYSmQUyns2otho3fX9Pm1WAHF2DPeqyEG2GKaBrL4qoNR0e7vrnqxB2etmh Gw4NwKB0AZCZqpmwrRyt82yVVTMYh7h3+XKHjEc21+opDAoPUnIGeLKkfpRBeUo3sh sXo3bwBl2WXgw== X-Cc: linux-nfs@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: git-send-email 2.54.0 X-In-Reply-To: <20261103121915.25298-1-kalcutterc@nvidia.com> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list