From 140972727f77ae91085be934ca5376a66676a7c9 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 13 Nov 2024 21:45:04 -0500 Subject: kernel: vfs: Add vnode cache implementation Signed-off-by: Ian Moffett --- sys/kern/vfs_init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/kern/vfs_init.c') diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index ab18d09..e563df0 100644 --- a/sys/kern/vfs_init.c +++ b/sys/kern/vfs_init.c @@ -56,6 +56,9 @@ vfs_init(void) vfsops->init(fs); } } + + /* Use global vcache by default */ + vfs_vcache_migrate(VCACHE_TYPE_GLOBAL); } struct fs_info * -- cgit v1.2.3