From nobody Thu Oct 12 04:20:57 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S5bzY5xm5z4xC4F; Thu, 12 Oct 2023 04:20:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5bzY4t66z4Xgx; Thu, 12 Oct 2023 04:20:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697084457; 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=m6gQ2wjn2SELvdDig5OLapK9ZbpeLVfu4BzQFca3hgA=; b=q1BId7k6dqoISL2H8VzyqWPXB80bioH/Owycj/ZtdN+krfqZTEnZXhYxGHVJEMuGg/twbd klcwskcqY2cl/YR8zB5RrdD/CmhRVuKXzIVfjUxBm9Fm1vNs1Yz+uzXq16V04vA0VwlRJ/ /xW5RM4ilXI+K0LNf8DsnBO7k+UR+9Z8zFsqsIyiBtRfe9BVADRlQWq2tC+s4h1hGtmCV7 rLvB5jANDmTv6CYbMB7LYP/b0U/KF9Jbpjn61CemD5mCflNaxB2tR1Lqon1r+ozJ/oQsQ3 6EM9YLtbxcRKtkb24BrZ832BbguN+Xa+O9iY7y2qyPiEbMwKMwn/H7/4lMPxwQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697084457; a=rsa-sha256; cv=none; b=Qs9dU7PVHBidYSWh+5Up75sPVjce9jSvlZNqmHapgVM2oTumwNscuD2PK3L2eyFchuJIPp na4uTLZRNziei42tcqPf2EV0nljO8vglU9bftM+ZKlTmhYG3NT7DlWTe91IwIfJ40qMc0U E2EWE28fs5V4URbfXUUgNxvz0vdIp08kUu4xLxvT3WYeh6qc7L7QRay3E2fZpLUlumds7e cTUmwZoTcNh3WVFNWT5MkE/AN77TXH8viSZ0bhATUFC9btSsu5VfO+LyoWTsB1rjP1DcRX rKe3KHdSDvAxDdKn0OBMy8WwsDDD4ia5cMkkMJZqpGv0UKV9iBxu1jnpRwkFhw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697084457; 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=m6gQ2wjn2SELvdDig5OLapK9ZbpeLVfu4BzQFca3hgA=; b=M8fs6laOA4TU1cZvdfzlwHdRJUOojIEIQbZowUI+cTgftbF/UgVad4FD8vTLKb6myy6Kmo L4waB3y8geKruOWKxS+gxTllg/Wcwv92FdTavVF25K/Qqc7xMrqBhPw2tg1vJjyrT8cLaZ hKBf4eFs0LG5LOUMfNFnTuhkVAHTzq1krr0SZwz+YaEQvQF9w7TTj8JOrRYTpPxkBhlkBs 4RIZCzhCvhSgp11WRuUyNt4gAvNeO2JWNpFK3P9Vbv7nik3SJGw3g454XTUAbrL3CAZDn2 +IsT8fAokmRS7j6+MHAOoHytuix21o/v7jKi0FNKpmw4nrN9bg4wm9dQcbxjjw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S5bzY40Llzpy4; Thu, 12 Oct 2023 04:20:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39C4KvkF086381; Thu, 12 Oct 2023 04:20:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39C4KvTB086378; Thu, 12 Oct 2023 04:20:57 GMT (envelope-from git) Date: Thu, 12 Oct 2023 04:20:57 GMT Message-Id: <202310120420.39C4KvTB086378@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 234919330105 - stable/13 - nfscl: Add sysctl flag CTLFLAG_TUN to loader tunable List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 234919330105ef0b06548fb92d411ad1939ac0bb Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=234919330105ef0b06548fb92d411ad1939ac0bb commit 234919330105ef0b06548fb92d411ad1939ac0bb Author: Zhenlei Huang AuthorDate: 2023-10-09 10:30:21 +0000 Commit: Zhenlei Huang CommitDate: 2023-10-12 04:19:36 +0000 nfscl: Add sysctl flag CTLFLAG_TUN to loader tunable The sysctl variable 'vfs.nfs.iodmin' is actually a loader tunable. Add sysctl flag CTLFLAG_TUN to it so that `sysctl -T` will report it correctly. No functional change intended. Reviewed by: kib, imp MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D42113 (cherry picked from commit 95c01e9b329406699e89907167b5c3c9effbcbca) (cherry picked from commit 3133f4d9dec495275120f920c0939b2752ac3d4d) --- sys/fs/nfsclient/nfs_clnfsiod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/fs/nfsclient/nfs_clnfsiod.c b/sys/fs/nfsclient/nfs_clnfsiod.c index 5dc1d5643591..f4f97a8646f0 100644 --- a/sys/fs/nfsclient/nfs_clnfsiod.c +++ b/sys/fs/nfsclient/nfs_clnfsiod.c @@ -123,8 +123,8 @@ out: return (0); } SYSCTL_PROC(_vfs_nfs, OID_AUTO, iodmin, - CTLTYPE_UINT | CTLFLAG_RW | CTLFLAG_MPSAFE, 0, sizeof (nfs_iodmin), - sysctl_iodmin, "IU", + CTLTYPE_UINT | CTLFLAG_RWTUN | CTLFLAG_NOFETCH | CTLFLAG_MPSAFE, + 0, sizeof (nfs_iodmin), sysctl_iodmin, "IU", "Min number of nfsiod kthreads to keep as spares"); static int