DragonFly-2.3.2.255.gca8d7 master sys/vfs/devfs devfs.h devfs_co

看板DFBSD_commit作者時間16年前 (2009/08/04 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit ca8d7677b7d28d7b85590e5ad8572db1f3d96bf3 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Aug 3 21:23:30 2009 -0700 DEVFS - Rollup * Use a dynamically sized dirent structure for devfs_nodes, saving a lot of memory. * Fix m_* lexical space overloading issues. * Fix issues with numerous uninitialized fields. * Completely initialize the devfs_node before making it visible to userland. * Properly invalidate negative entries in the namecache when adding new devfs nodes. Also properly recycle disconnected vnodes. * Properly disassociate a devfs node from its vnode when freeing the devfs node. * Clarify device reference counts and fix a bug or two. * Get reprobes working. Sniff writes and automatically reprobe the whole disk or a particular slice on close() if the MBR or label area is modified. * Fix memory leak when mounting/umounting devfs. Submitted-by: Alex Hornung <ahornung@gmail.com> Summary of changes: sys/vfs/devfs/devfs.h | 57 +++-- sys/vfs/devfs/devfs_core.c | 637 +++++++++++++++++++++++++---------------- sys/vfs/devfs/devfs_helper.c | 2 +- sys/vfs/devfs/devfs_vfsops.c | 30 ++- sys/vfs/devfs/devfs_vnops.c | 82 ++++-- 5 files changed, 500 insertions(+), 308 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ca8d7677b7d28d7b85590e5ad8572db1f3d96bf3 -- DragonFly BSD source repository
文章代碼(AID): #1ATyVP0D (DFBSD_commit)