From nobody Thu Mar 14 00:47:39 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 4Tw7yN3ydXz5DnPQ; Thu, 14 Mar 2024 00:47:40 +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 4Tw7yM5ymcz4HVL; Thu, 14 Mar 2024 00:47:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710377259; 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=uf79luq7RNV7kv813LUHp2vzbTuxJvcHCnRwgu/2CXY=; b=ilB8Y8MFXdRAeMH+LgNm8W05QoKCi57K2ekgMHLHV/9jaTM3JxVebjDVfnyIgaLOOQC5NN XVFsDZl93acJPqhKSDrGHHohWCGifnen9WtVW2aSc+MYdvzu+Qb/UhK5kzzYsAz/u957ym VGMrTS6JwxeAjdsIEhDKU91SO9ImGLU0xKY7zBYRd5/PJzH4CWtpt+ujR7apMIGDxjEkpA MxX+hPKXqpD9l4oG7gIB00XycxNBHk0lpxHK7g1oQyKRYyuEU3DY37AQ/gArQRB1Ee1l5Q /63eMii1Eh7YRyTg5On3aqShHnWhyxis2LrLgCmZX+WbMszQlfY6InXI+M/A6w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710377259; a=rsa-sha256; cv=none; b=FWme+BKv2Vt4P1t+eA1W0YohBizvlUggi+qpf8n3FE+xhuhhZpl7TttSgVkc2tL8uoTOf3 wjXUXjenQ9XJspnBFLN/a1V7BL+ZLk0EIaKmAmTARmofmiGuV4RiFNizC3hKX5692CqihR MjE/qcU6vt75DnWqT44dsg/fZRtUCorFxvFXUfFtPq1KsDIEXqLWn3o3ThUyQHRbbiNtf/ m48r+zAn6dVPF1T4EKDooT+YBDV6Hjd8TRDOU17z6gSO2oh/2KsZMa7FWtaTmyfCX8bkCU By/Abbb3/aW1mibTVciLGNHL4RYt3wmG8tk7tHi7UE2QNMAqKpBobeLPyTYuog== 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=1710377259; 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=uf79luq7RNV7kv813LUHp2vzbTuxJvcHCnRwgu/2CXY=; b=k6l09IjHi20It2nlkuYxQcuqzM2bNI9DxFmIjCBypRXhOYEhrs7yA+8N/CXIeBPEcpO2Lq tUcO/bCO+xfR2NttdtjJkp/snEM2ZdN117No/Iif2T2ArDFkSdL2b+yjElgttlIDsMz3Np 1yrXxbGj84YSgr7gO4Q+anCJeTRZ7RstT9BpEfWIdqVk0Z1PTcrfLv0RZmheROeGB/2e0U Df3JTeINeysIgtff+hGaq795U5RzySoPD2BFuKn7lNE9FGqv739uRr17o/CDYFbOP5s2aR C9KiHpoa9u3+ITWsf1NuvXAmUXnCB9z1yBAyuYYAeXep7F/Cgt69KtaJkdjghw== 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 4Tw7yM5Xn3z15LS; Thu, 14 Mar 2024 00:47:39 +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 42E0ldOn029388; Thu, 14 Mar 2024 00:47:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42E0ldif029385; Thu, 14 Mar 2024 00:47:39 GMT (envelope-from git) Date: Thu, 14 Mar 2024 00:47:39 GMT Message-Id: <202403140047.42E0ldif029385@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: ff4196ad0bb2 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: ff4196ad0bb25c8bfababd6e1ee31362aef92283 Auto-Submitted: auto-generated The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=ff4196ad0bb25c8bfababd6e1ee31362aef92283 commit ff4196ad0bb25c8bfababd6e1ee31362aef92283 Author: Konstantin Belousov AuthorDate: 2024-03-08 18:26:48 +0000 Commit: Konstantin Belousov CommitDate: 2024-03-13 00:31:20 +0000 mount_nullfs(8): document -o cache and vfs.nullfs.cache_vnodes (cherry picked from commit 4a2a69c4472cf677f8dfc026fff3dd33c83580cb) --- sbin/mount_nullfs/mount_nullfs.8 | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/sbin/mount_nullfs/mount_nullfs.8 b/sbin/mount_nullfs/mount_nullfs.8 index d515decff211..fc33e64e2902 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 December 19, 2022 +.Dd March 24, 2024 .Dt MOUNT_NULLFS 8 .Os .Sh NAME @@ -90,8 +90,34 @@ flag followed by a comma separated string of options. See the .Xr mount 8 man page for possible options and their meanings. +<<<<<<< HEAD +||||||| parent of 4a2a69c4472c (mount_nullfs(8): document -o cache and vfs.nullfs.cache_vnodes) +Additionally the following option is supported: +.Bl -tag -width indent +.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. +.El +======= +Additionally the following option is supported: +.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 +>>>>>>> 4a2a69c4472c (mount_nullfs(8): document -o cache and vfs.nullfs.cache_vnodes) .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.