From nobody Thu Oct 12 15:02:49 2023 X-Original-To: dev-commits-src-all@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 4S5tD93c9Hz4wTky; Thu, 12 Oct 2023 15:02:49 +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 4S5tD92vSlz4Z1n; Thu, 12 Oct 2023 15:02:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697122969; 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=aoRo7NVwFO7DUrmHQ+Av9Wqw+VYMQVH23vXzziP1c6U=; b=gc3SBkH3IvEM+VSr+o5yqf6N3jhvCCSrYE9oxFpVzyFWE4faH1bD5RE0GkmQdFJJjpEtYm lyIHuEVq+6DwJ6x8EgHfIO58LCjgFLDiRYgz0e6c6mzb1FAhUNWI4f20rm87jyYOSIV2ue I43MzB7GtbDZJexjtntLA+7o+By03fokkohn2QJwkR4AeZizFdp/U4EZ24stOTqN7pYREf +Wt4yrB2zvHMuPazu1XkgJ8Z7GnxfaZ3MtIaQFVcOH7xYN5uKM3xiH+3mGxUrEqff0HkXf CJk1jSeucWnqec4zrHTnkond+Mc5EIbU2Of8hD6vss7UylCOT6gOak31+qDoEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697122969; a=rsa-sha256; cv=none; b=hBTeuom8boeQcYFLDxexDyay4DfX3kmxVmx5FmBosE+qW5s25rDiiqWf6xgkUlW4Tc/yyC 6t6nVW+/+aenxsEg5XRgl9ccEc7JLTEJGxRmpo6yt4cHEaqQmQ3+7VBi5TatUIgp52I4vm xfLNTAChQRmmCRS2ymWp0sz9EG07JSQgdgqyPIrSLWpKVaMatuyqqTiv5CoBPzNBnxN0WN xEC2QgIylB4mJkmpNEomQi32obrnkNd2YBBTDuMYV/WTK34uTGsD2LBZ6TrOaDznXFwbsR G4leH6bVxBo8IXKiFoy2vQVAFIa9hML7e3uj1zkkRCJRiR5CdKatcAYvTpdUiQ== 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=1697122969; 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=aoRo7NVwFO7DUrmHQ+Av9Wqw+VYMQVH23vXzziP1c6U=; b=cghq79KN2NzhJaguVAVu7G5vu7dTx0vjn8yr0peBoOOHlQ8G54jVzlfJwElXrV8s31Iae9 copKVfVQadcCmGCkYkNBQMAo6jycOpPwbP5Jjx9i7yz5tcx47qQPPCKnbqKSU30Zfc66eH sfcZzlblUSltr/N06EgyodJ0BYmLrD7RR66iO6B6Op6yQ6wHznuZsNflRDDytUuqe3xHxe tiS0FT7wdM6XP7ygV0swQz+N+i4e6852Zeljvk+PDrD3WeJD2+fFl4PM9hxjFTvZvfUfel BcSwCAsVGQLgHDZOb2seRdMnE1zxGCdvw20lORa7W5+t+yoo5xMZGcEGimxLFA== 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 4S5tD9208Kz17cs; Thu, 12 Oct 2023 15:02:49 +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 39CF2neu056994; Thu, 12 Oct 2023 15:02:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39CF2nxv056991; Thu, 12 Oct 2023 15:02:49 GMT (envelope-from git) Date: Thu, 12 Oct 2023 15:02:49 GMT Message-Id: <202310121502.39CF2nxv056991@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: ccf8370b8193 - releng/14.0 - nfscl: Add sysctl flag CTLFLAG_TUN to loader tunable List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/releng/14.0 X-Git-Reftype: branch X-Git-Commit: ccf8370b819377684b4a1e1f21b6d81d1d4c4c4b Auto-Submitted: auto-generated The branch releng/14.0 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=ccf8370b819377684b4a1e1f21b6d81d1d4c4c4b commit ccf8370b819377684b4a1e1f21b6d81d1d4c4c4b Author: Zhenlei Huang AuthorDate: 2023-10-09 10:30:21 +0000 Commit: Zhenlei Huang CommitDate: 2023-10-12 14:59:52 +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 Approved by: re (gjb) 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