From nobody Thu Nov 17 16:45:30 2022 X-Original-To: dev-commits-src-main@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 4NCm4W1tNgz4hk35; Thu, 17 Nov 2022 16:45:31 +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 4NCm4V6YkPz3rZv; Thu, 17 Nov 2022 16:45:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668703530; 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=E+IpQehXeJ0BvwKChoy9r5CbhOfHmO3FrQgqIP48jHs=; b=Eqky6V3aMcNcWGnjPMqrS+8qQ65FllO0BTIyHZw6dU2exRZ8J2M5MhfitXJgDmischPaXY W/4bZBqH8UTM2EtLPFESvHB0UVuZJL/ioj5K8Z+vaYcoMqprb77HLZNYfQwUiQ87Qg6uh5 XmTbbPdkqJ2hpjLeg0uHqRIwwekHmgGqqdjsSd8CQISykyWlISBRPGDkLFfWX4SKANWAwB Yop8uMNjRxgjYRW1BXOjTV5g5CABOuF3ErHP1qVAgCsI8ncjoUuVjcovsipQQAUX5oca45 ihAj5DbWSv5Tn6GD2SWBvu8HhI1KzgY3u8bOvBZGFkj1A2SKdACklZfJLVMs2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668703530; 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=E+IpQehXeJ0BvwKChoy9r5CbhOfHmO3FrQgqIP48jHs=; b=rgvLqgAYxAJJPkH/BFxOT0UZvLZ5emRpSvBtzN60kPMly78oaZSng/RYdyHAR3b0nS6FRs jS3V/fTCpGQX+tCK1FR5+wbGq2CQG7OWY6iDdEO2F0xdeeFwDgzBVRI6DfFWDr3MZhpZb3 +0w1DLBJzio3ztkUipIoiiHwT5XfAYtyX7JDe+h1wexu2HAicXxzbgb8ScxPvp0xf8Seko Q77Xqiumvl3fkzgrzLpGsYAk4eNDRMY6zM7adZX+PjmTa0SiV630uzMDmJjw6bHyUbLefx WqUaGPSw0Fe8XI/LlOv5b6D9aZRC3hrfEN6Xmy/dTmcV6XsxSoMFkqA2UYFBXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668703530; a=rsa-sha256; cv=none; b=kVtXprp89EBiqGmjJC95xmDeXzhVwkvQ7KbpIIZafYvk83PHjl+LUunRruqjKqJrh7+35i nz6RjYmW1+bi5D4kEsCVHnfiTgfR3/WaIthNAwtkNN7tQOSs4byoFzY36FjMJTLmCm9wzQ B5n7UZnG3RAUxsjDvdqUo1D84dqbUAiLdhLm6kTpKPDG18w9og5Ase6HyIcv+bQsRcedRK Gee9MSRSMow32TOVzz5W+nrj1QJcEHeuAi5UDnxF71h8i/FuumR9pGYhROYXB2BPbDznyj 1/VfC5SKU//WXSomQIowGFmB8DcMfyWpsJ+rcJdaM/Jbw1iYSwu6vcDyYLA/Lw== 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 4NCm4V5gJ5zpS5; Thu, 17 Nov 2022 16:45:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AHGjURp040216; Thu, 17 Nov 2022 16:45:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AHGjUtL040215; Thu, 17 Nov 2022 16:45:30 GMT (envelope-from git) Date: Thu, 17 Nov 2022 16:45:30 GMT Message-Id: <202211171645.2AHGjUtL040215@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Eric van Gyzen Subject: git: a134a12b14e2 - main - Mark the debug.vnlru_nowhere sysctl as CTLFLAG_STATS List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vangyzen X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a134a12b14e229c213e113f3c20a2e35c68a0337 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vangyzen: URL: https://cgit.FreeBSD.org/src/commit/?id=a134a12b14e229c213e113f3c20a2e35c68a0337 commit a134a12b14e229c213e113f3c20a2e35c68a0337 Author: Eric van Gyzen AuthorDate: 2022-11-17 16:42:28 +0000 Commit: Eric van Gyzen CommitDate: 2022-11-17 16:44:58 +0000 Mark the debug.vnlru_nowhere sysctl as CTLFLAG_STATS The kernel doesn't read it. It's only writable so it can be cleared. Sponsored by: Dell EMC Isilon --- sys/kern/vfs_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index aaf8f1c27c87..4aea0f263e46 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -371,7 +371,7 @@ SYSCTL_PROC(_vfs, OID_AUTO, wantfreevnodes, SYSCTL_ULONG(_kern, OID_AUTO, minvnodes, CTLFLAG_RW, &wantfreevnodes, 0, "Old name for vfs.wantfreevnodes (legacy)"); static int vnlru_nowhere; -SYSCTL_INT(_debug, OID_AUTO, vnlru_nowhere, CTLFLAG_RW, +SYSCTL_INT(_debug, OID_AUTO, vnlru_nowhere, CTLFLAG_RW | CTLFLAG_STATS, &vnlru_nowhere, 0, "Number of times the vnlru process ran without success"); static int