Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2019 22:17:11 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r353153 - head/sys/fs/tmpfs
Message-ID:  <201910062217.x96MHBAp085906@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Sun Oct  6 22:17:11 2019
New Revision: 353153
URL: https://svnweb.freebsd.org/changeset/base/353153

Log:
  tmpfs: add root vnode caching
  
  See r353150.
  
  Sponsored by:   The FreeBSD Foundation
  Differential Revision:  https://reviews.freebsd.org/D21646

Modified:
  head/sys/fs/tmpfs/tmpfs_vfsops.c

Modified: head/sys/fs/tmpfs/tmpfs_vfsops.c
==============================================================================
--- head/sys/fs/tmpfs/tmpfs_vfsops.c	Sun Oct  6 22:16:55 2019	(r353152)
+++ head/sys/fs/tmpfs/tmpfs_vfsops.c	Sun Oct  6 22:17:11 2019	(r353153)
@@ -710,7 +710,8 @@ tmpfs_susp_clean(struct mount *mp __unused)
 struct vfsops tmpfs_vfsops = {
 	.vfs_mount =			tmpfs_mount,
 	.vfs_unmount =			tmpfs_unmount,
-	.vfs_root =			tmpfs_root,
+	.vfs_root =			vfs_cache_root,
+	.vfs_cachedroot =		tmpfs_root,
 	.vfs_statfs =			tmpfs_statfs,
 	.vfs_fhtovp =			tmpfs_fhtovp,
 	.vfs_sync =			tmpfs_sync,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910062217.x96MHBAp085906>