From nobody Thu Mar 14 00:46:01 2024 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 4Tw7wV27kPz5DmyX; Thu, 14 Mar 2024 00:46:02 +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 4Tw7wV0by6z4Fq0; Thu, 14 Mar 2024 00:46:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710377162; 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=qQwXxC0U1M2fXiiZbsLilAMbZ7NmTXLZhIsPkRwSEkg=; b=B94JRh5yVXqwB5HC7HGrCIFxvmcjENEF7wGrH1fyTEJFH6Vmz0YDDncMErHRoKkupQqOFp 4kBiluthQbwfe8jTvjeK0DA1zSl8NzbIJ3+aj8BBN+g03mroLTEwKxGyWrKu2CQ1hLXwIk Inth1l/rgTYeS3f9/LxnAwikyxKUWMza5kksYcQWx1e3Y1fXp0q5l6rIpNqZn3HCB+nIsk 9yxCiLngXGAAwZABJEwInqalkL+DPjQG5WdxEeMlvW0oQpXDcQXskzZkkizUTAYh7TYoYJ x1iEjntgkW2vZG9I8QplhbnK8YX0N8Ex41Z+ehCLQXIERi27Z24DicqVKfD3Ew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710377162; a=rsa-sha256; cv=none; b=wjrETeqlzQtApE6t+A5RPpTu9PuewBPgrKwXq+0nqM4WygGHFBNyRcdGA2vJEptjG7Spj3 E9rs8BSyOfMIJutffL3EBTW40Y9Dubx7hDw6OLkkXodJ0xwGy8eixZpt9OshZciooH47b9 9wKSHsialHlhRol3TLgK9tpt1FOUWPGCcwKPrWewqZ2w1IEGmirLA8r1fCIzB7UdGOTn8R YC1CRQGbaGEUrhSqMt77K8LvA2ScrcRbbxm9Rl5Ra3XnScszq7av2M7H6T8HhWtHPrT5bC PBC69pAQHqZMJoXg1a8LQQmn3aLPSHnqPUVYA6Lt68daEr1l4R9O0/N7Icmgcg== 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=1710377162; 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=qQwXxC0U1M2fXiiZbsLilAMbZ7NmTXLZhIsPkRwSEkg=; b=DH1PqUmUUjIAyoa18YPzuf++InS/1veyoXaWbRU8U+QD563FCSkx1Ok2WwmJ3xjqZFIckg aI6IW9ouBY6K5fhT/pzaB+5vsp5XJwnnpPrNpf8vWnvBOg61yA1OSSaUquLWAIqg/Rf5m3 XdzgtFXd2TRkIMVcV78cXs3Ggyz7jAoQXvw3MUEn2IzG0hSuH+ypfSA9Rhkz/fcWDmOulh Yihf8CjrGvD+t8hbfgVSYA1VsXWOpcQnFXpXRDL6ySzR0EFgsszmXSMYiS2veRG9piIp3i aF1Mc98VnVG+XY8U7ft87x7T53pyWB6BPUgHeVH18sJP6ka48VJsATuqynSTEA== 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 4Tw7wV0BFqz15LQ; Thu, 14 Mar 2024 00:46:02 +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 42E0k1xt028712; Thu, 14 Mar 2024 00:46:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42E0k1rp028708; Thu, 14 Mar 2024 00:46:01 GMT (envelope-from git) Date: Thu, 14 Mar 2024 00:46:01 GMT Message-Id: <202403140046.42E0k1rp028708@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: ea8d7263d93e - stable/14 - mount_nullfs(8): document -o cache and vfs.nullfs.cache_vnodes 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: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ea8d7263d93e3e32d8123da5f711446a37cd1722 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=ea8d7263d93e3e32d8123da5f711446a37cd1722 commit ea8d7263d93e3e32d8123da5f711446a37cd1722 Author: Konstantin Belousov AuthorDate: 2024-03-08 18:26:48 +0000 Commit: Konstantin Belousov CommitDate: 2024-03-13 00:30:41 +0000 mount_nullfs(8): document -o cache and vfs.nullfs.cache_vnodes (cherry picked from commit 4a2a69c4472cf677f8dfc026fff3dd33c83580cb) --- sbin/mount_nullfs/mount_nullfs.8 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sbin/mount_nullfs/mount_nullfs.8 b/sbin/mount_nullfs/mount_nullfs.8 index e3648a2fb2f2..b4b862b6c979 100644 --- a/sbin/mount_nullfs/mount_nullfs.8 +++ b/sbin/mount_nullfs/mount_nullfs.8 @@ -32,7 +32,7 @@ .\" .\" @(#)mount_null.8 8.6 (Berkeley) 5/1/95 .\" -.Dd June 11, 2023 +.Dd March 24, 2024 .Dt MOUNT_NULLFS 8 .Os .Sh NAME @@ -92,15 +92,21 @@ See the .Xr mount 8 man page for possible options and their meanings. Additionally the following option is supported: -.Bl -tag -width indent +.Bl -tag -width nocache .It Cm nocache Disable metadata caching in the null layer. Some lower-layer file systems may force this option. Depending on the access pattern, this may result in increased lock contention. +.It Cm cache +Force enable metadate caching. .El .El .Pp +The +.Dv vfs.nullfs.cache_vnodes +sysctl specifies global default for mount-specific cache/nocache option. +.Pp The null layer has two purposes. First, it serves as a demonstration of layering by providing a layer which does nothing.