summaryrefslogtreecommitdiffstats
path: root/sys/conf/options
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-09-06 11:26:43 +0000
committerphk <phk@FreeBSD.org>2000-09-06 11:26:43 +0000
commitc9cb5c289d5aaaea9a1cb017bd8b2f24c3483f8e (patch)
treef3e131458b74087067e30359371eb0ee0414890b /sys/conf/options
parent6c07bccbf798848cb394146e35ef94c64121accd (diff)
downloadFreeBSD-src-c9cb5c289d5aaaea9a1cb017bd8b2f24c3483f8e.zip
FreeBSD-src-c9cb5c289d5aaaea9a1cb017bd8b2f24c3483f8e.tar.gz
Add refcounts to the "global" DEVFS inode slots, this allows us
to recycle inodes after a destroy_dev() but not until all mounts have picked up the change. Add support for an overflow table for DEVFS inodes. The static table defaults to 1024 inodes, if that fills, an overflow table of 32k inodes is allocated. Both numbers can be changed at compile time, the size of the overflow table also with the sysctl vfs.devfs.noverflow. Use atomic instructions to barrier between make_dev()/destroy_dev() and the mounts. Add lockmgr() locking of directories for operations accessing or modifying the directory TAILQs. Various nitpicking here and there.
Diffstat (limited to 'sys/conf/options')
-rw-r--r--sys/conf/options4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options
index 7a0dd1e..ddd04a3 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -459,3 +459,7 @@ ACPI_DEBUG opt_acpi.h
AML_DEBUG opt_acpi.h
ACPI_NO_ENABLE_ON_BOOT opt_acpi.h
ACPI_NO_OSDFUNC_INLINE opt_acpi.h
+
+# options for DEVFS, see sys/fs/devfs/devfs.h
+NDEVFSINO opt_devfs.h
+NDEVFSOVERFLOW opt_devfs.h
OpenPOWER on IntegriCloud