Date: Wed, 6 Sep 2000 04:26:47 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf options src/sys/fs/devfs devfs.h devfs_devs.c devfs_vfsops.c devfs_vnops.c Message-ID: <200009061126.EAA96905@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2000/09/06 04:26:47 PDT Modified files: sys/conf options sys/fs/devfs devfs.h devfs_devs.c devfs_vfsops.c devfs_vnops.c Log: 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. Revision Changes Path 1.223 +5 -1 src/sys/conf/options 1.5 +42 -23 src/sys/fs/devfs/devfs.h 1.6 +212 -24 src/sys/fs/devfs/devfs_devs.c 1.6 +5 -5 src/sys/fs/devfs/devfs_vfsops.c 1.8 +39 -23 src/sys/fs/devfs/devfs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009061126.EAA96905>