From f99df3bfe46400ff238900d4c108628235b660c9 Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 1 Oct 2008 19:25:37 +0000 Subject: Enable shared locks for path name lookups on supported filesystems (NFS client, UFS, and ZFS) by default. --- sys/kern/vfs_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/vfs_lookup.c') diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c index da60a6e..aa9cfbf 100644 --- a/sys/kern/vfs_lookup.c +++ b/sys/kern/vfs_lookup.c @@ -88,7 +88,7 @@ nameiinit(void *dummy __unused) } SYSINIT(vfs, SI_SUB_VFS, SI_ORDER_SECOND, nameiinit, NULL); -static int lookup_shared = 0; +static int lookup_shared = 1; SYSCTL_INT(_vfs, OID_AUTO, lookup_shared, CTLFLAG_RW, &lookup_shared, 0, "Enables/Disables shared locks for path name translation"); TUNABLE_INT("vfs.lookup_shared", &lookup_shared); -- cgit v1.1