DragonFly-2.3.1.819.g02023 master sys/kern vfs_bio.c vfs_subr.c

看板DFBSD_commit作者時間16年前 (2009/07/14 12:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 0202303b67456174b88e4b40807faec651bd38ef Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Jul 13 10:55:24 2009 -0700 buffer cache - Control all access to the buf red-black trees with vp->v_token Access to the buffer cache's RB trees is now controlled via vp->v_token instead of a critical section. We still hold the BGL but this is not quite as simple as it seems because an interrupt calling biodone() on a B_INVAL buffer may now potentially block, where as it would not have before. The buffer is locked. Summary of changes: sys/kern/vfs_bio.c | 8 +++- sys/kern/vfs_subr.c | 93 +++++++++++++++++++-------------------- sys/kern/vfs_sync.c | 41 ++++++++++------- sys/sys/vnode.h | 6 +- sys/vfs/gnu/ext2fs/ext2_vnops.c | 17 ++++--- sys/vfs/hammer/hammer_vnops.c | 12 +++--- sys/vfs/nfs/nfs_subs.c | 30 ++++++++----- sys/vfs/nfs/nfs_vnops.c | 4 +- sys/vfs/ufs/ffs_rawread.c | 24 +++++----- sys/vfs/ufs/ffs_softdep.c | 12 +++++ sys/vfs/ufs/ufs_vnops.c | 12 +++--- 11 files changed, 144 insertions(+), 115 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0202303b67456174b88e4b40807faec651bd38ef -- DragonFly BSD source repository
文章代碼(AID): #1AN0C256 (DFBSD_commit)