看板 DFBSD_commit 關於我們 聯絡資訊
commit a9a20f98de63ec47f7668d93aee3e25b45ba24db Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Jul 13 09:30:22 2009 -0700 Make operations on struct bio_track MPSAFE. Use atomic ops to make reference counting and waiting on bio_track structures MPSAFE. Summary of changes: sys/kern/kern_device.c | 2 +- sys/kern/kern_shutdown.c | 2 +- sys/kern/vfs_bio.c | 97 +++++++++++++++++++++++++++++++++---- sys/kern/vfs_lock.c | 4 +- sys/kern/vfs_subr.c | 52 +++++++------------- sys/sys/biotrack.h | 10 ++++- sys/vfs/gnu/ext2fs/ext2_vnops.c | 5 +-- sys/vfs/msdosfs/msdosfs_vfsops.c | 3 +- sys/vfs/nfs/nfs_vnops.c | 8 ++-- sys/vfs/ufs/ffs_rawread.c | 19 +++---- sys/vfs/ufs/ffs_softdep.c | 8 ++-- 11 files changed, 137 insertions(+), 73 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a9a20f98de63ec47f7668d93aee3e25b45ba24db -- DragonFly BSD source repository