From owner-cvs-all Wed Sep 6 4:26:50 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D46FF37B424; Wed, 6 Sep 2000 04:26:47 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA96905; Wed, 6 Sep 2000 04:26:47 -0700 (PDT) (envelope-from phk@FreeBSD.org) Message-Id: <200009061126.EAA96905@freefall.freebsd.org> From: Poul-Henning Kamp Date: Wed, 6 Sep 2000 04:26:47 -0700 (PDT) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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