Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp623389lqb; Wed, 29 May 2024 06:13:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVeNOc7+z28IZl4DPjBX130035sJbBVFBfiaF1dTn1QZCNy58cP5CQfPLnhwCZwEt3kG9jQDha5lne7V5yomUPmlOxE25J8ZLEe9kKJNg== X-Google-Smtp-Source: AGHT+IEuZ06DLNMj8tpppIGse0QxgpTBDQFW0gskGo20fXIRjT0/GaSg28IZHYLMCOQunlGITthn X-Received: by 2002:a05:6512:32c9:b0:523:9747:4920 with SMTP id 2adb3069b0e04-52964bb1750mr11144728e87.36.1716988397229; Wed, 29 May 2024 06:13:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716988397; cv=pass; d=google.com; s=arc-20160816; b=L3Ytgjam+ORR1vgNryHE0K4hRmi5UyZMH/2v04zzfhX+qrx1dttST72ZE9sR7KFc9f iUMFET1jAsfDBTYb8WhBr0S7ndLdEq/Z58fAqfs6BuQTGiEd9zWAogaoLX1JQbhRchfz Fa9oPYKajhtiKHcN0IupZEf5gjsPz12YDXEWsBqXRisLqlozEnrj7dxY3YljFrhmmRml 17YG4Lnb1nEdsfi7dq/f6UWiqwzTTyb2+ezhQnAIpUlBbNIy+SstYwa+IG0xkTOxfXFe 3qZE1wexhvhbtTElLWjDUwuvNQJjOnhQNrOT0lQZeLlFGooy7dtrcfKy6Uyj/gOfuewU f2MQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=xvP+e8ct7DB37Hd+URoIjzPOHp6idykpf6CzoqVlzPs=; fh=+zuC6V29BvazwmspQD1F3Mj90Wo+fhxSqgCn03sSLpY=; b=xkzZQV0aDhn6gJLVvGFseearjtPmkQMi3sYJReqi8q6cEnEGLwvYhRWWCW1yLeCAE/ yE5tWCvH8+RvFvKVdTqth3FsGYzkj44Mt7871X78bHgD9guNaLY4Igh08Au8KbwO1J8T tFwRlTVVdPAvEtpdOw3UBbIcMYjbGb4wNHFLaByXpogfsshN0YN2fV+skCs8vAWvK59X 0Cj0i1rEwethGW+u6MB9tJgb7nn/+Rbos8zqE35IXcKBHL7nHbgfta0NmKSDzI8mK6Zy Ey4JjvprbxqcjzfGjnAimAZJRPiFZQwsfjdD1Z3zPz+gUkjxWUrUMG1v+hsuquFtWG3x zyZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GrN3eAo2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3471-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3471-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a62f57fd7a6si343069566b.109.2024.05.29.06.13.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 06:13:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3471-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GrN3eAo2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3471-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3471-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E2F161F23818 for ; Wed, 29 May 2024 13:13:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 37BD8E554; Wed, 29 May 2024 13:13:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GrN3eAo2" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 10095E542; Wed, 29 May 2024 13:13:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716988393; cv=none; b=OZgyNl5AswxnnwYxZyHQJEbfpYciStO6/I4Vs8f+tuA0Sa+CBtpcfgiyi6PnpY4WOfXeEAJA4vQ96WxPc/K3EDdznZZwooSNbXSc3+Sdq1CYqFUzqq4TAZLOAr9QxhCHlFMfUlRoN56MJZQa9DdO9Dn/2ui/J41VHrEzIOYfKoY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716988393; c=relaxed/simple; bh=xvP+e8ct7DB37Hd+URoIjzPOHp6idykpf6CzoqVlzPs=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=uG/oJOAyzLbqUzZZCzBJQuMq9SgLAhw9JQ4G6omHCy8GMNT7bVI+MT9FX+0hxjklfrDEP3xJceAOlTj2gUr5llpVtZra0Y/zwX+PRVPGI8iRBO1hlPuNgjjoW4uK6evP5ZFc5Tu4CfT4N9PFzituidfDidvNhKgT0q2FEUHcTnY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GrN3eAo2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D23BBC2BD10; Wed, 29 May 2024 13:13:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716988392; bh=xvP+e8ct7DB37Hd+URoIjzPOHp6idykpf6CzoqVlzPs=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=GrN3eAo28PdRhOdrw1melL9Qml1N1Dgo27L34n/a1nOjWNb8fYWSD6CWwIwUKgs2l Q2MRiK4Sd4fO2T6cSqccGrriohOOkXZWfNXH/jD9r8sdgAlzAzKTwycOtfXMPpSa/+ nQZdbYn5OpDvsXngDuYcszJVljKwMZYMWThxOrUHrSuvbe3ROqdCN7vlxN0bGRIt+P 1XmXL4TsqLGJmA2ea030bUBXaaMQtp3oRFVl5UPo+Ut1Mnt7cb0Nor3/egG7GBHfBk U4RVyD7szPsnNdEKOZu9T37URkq5LRU43PvyNndHOh7p9DzL8qSlE2pY/XIzAXaKPM VqPeTp9b4uq4A== Message-ID: Subject: Re: NFSD: Unable to initialize client recovery tracking! (-110) From: Jeff Layton To: Chuck Lever III , Linux regressions mailing list Cc: Paul Menzel , Linux NFS Mailing List , "it+linux-nfs@molgen.mpg.de" , Linus Torvalds Date: Wed, 29 May 2024 09:13:10 -0400 In-Reply-To: <5360A648-8236-466C-A9D8-82F2BBE6F059@oracle.com> References: <5096230634b5bab2e5094c0d52780ffe2fa75bb9.camel@kernel.org> <90700421-4567-4e28-ae71-8541086b46e2@leemhuis.info> <5360A648-8236-466C-A9D8-82F2BBE6F059@oracle.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Fri, 2024-05-24 at 16:09 +0000, Chuck Lever III wrote: >=20 >=20 > > On May 24, 2024, at 7:16=E2=80=AFAM, Linux regression tracking (Thorste= n > > Leemhuis) wrote: > >=20 > > On 21.05.24 12:01, Jeff Layton wrote: > > > On Tue, 2024-05-21 at 11:55 +0200, Paul Menzel wrote: > > > > Am 19.04.24 um 18:50 schrieb Paul Menzel: > > > >=20 > > > > > Since at least Linux 6.8-rc6, Linux logs the warning below: > > > > >=20 > > > > > =C2=A0=C2=A0=C2=A0 NFSD: Unable to initialize client recovery tra= cking! (- > > > > > 110) > > > > >=20 > > > > > I haven=E2=80=99t had time to bisect yet, so if you have an idea, > > > > > that=E2=80=99d be great. > > > >=20 > > > > 74fd48739d0488e39ae18b0168720f449a06690c is the first bad > > > > commit > > > > commit 74fd48739d0488e39ae18b0168720f449a06690c > > > > Author: Jeff Layton > > > > Date:=C2=A0=C2=A0 Fri Oct 13 09:03:53 2023 -0400 > > > >=20 > > > > =C2=A0=C2=A0=C2=A0 nfsd: new Kconfig option for legacy client track= ing > > > >=20 > > > > =C2=A0=C2=A0=C2=A0 We've had a number of attempts at different NFSv= 4 client > > > > tracking > > > > =C2=A0=C2=A0=C2=A0 methods over the years, but now nfsdcld has emer= ged as the > > > > clear winner > > > > =C2=A0=C2=A0=C2=A0 since the others (recoverydir and the usermodehe= lper > > > > upcall) are > > > > =C2=A0=C2=A0=C2=A0 problematic. > > > [...] > > > It sounds like you need to enable nfsdcld in your environment. > > > The old > > > recovery tracking methods are deprecated. The only surviving one > > > requires the nfsdcld daemon to be running when recovery tracking > > > is > > > started. Alternately, you can enable this option in your kernels > > > if you > > > want to keep using the deprecated methods in the interim. > >=20 > > Hmm. Then why didn't this new config option default to "Y" for a > > while > > (say a year or two) before changing the default to off? That would > > have > > prevented people like Paul from running into the problem when > > running > > "olddefconfig". I think that is what Linus would have wanted in a > > case > > like this, but might be totally wrong there (I CCed him, in case he > > wants to share his opinion, but maybe he does not care much). >=20 > That's fair. I recall we believed at the time that very few people > if anyone currently use a legacy recovery tracking mechanism, and > the workaround, if they do, is easy. >=20 >=20 > > But I guess that's too late now, unless we want to meddle with > > config > > option names. But I guess that might not be worth it after half a > > year > > for something that only causes a warning (aiui). >=20 > In Paul's case, the default behavior might prevent proper NFSv4 > state recovery, which is a little more hazardous than a mere > warning, IIUC. >=20 > To my surprise, it often takes quite some time for changes like > this to matriculate into mainstream usage, so half a year isn't > that long. We might want to change to a more traditional > deprecation path (default Y with warning, wait, default N, wait, > redact the old code). >=20 I've no objection if you want to do that. I'm more concerned about Paul's setup though. Paul, what distro are you running that starts nfsd (and presumably, mountd, etc.), but doesn't bother starting nfsdcld? Reenabling this for now is an OK workaround, but we need to understand where these setups are coming from, and probably do some sort of outreach to get them working properly. --=20 Jeff Layton