DragonFly-2.3.1.892.g899eb master sys/vfs/hammer hammer.h hammer

看板DFBSD_commit作者時間16年前 (2009/07/14 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 899eb297501681913674633aa0823adb6809437c Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Jul 14 00:14:12 2009 -0700 HAMMER - new hammer_lock code, fix mplock bug in last commit, mpsafe getattr. * Fix a mplock bug in the last commit that can cause a panic in hammer_read. The mplock check code wasn't setting up the hammer transaction properly. * VMP_GETATTR is now set on all HAMMER vnodes. If sysctl vfs.getattr_mpsafe=1 all fstat() operations will run without the MP lock. * Rewrite HAMMER's lock code, making it MPSAFE. The new lock code uses atomic_cmpset_int(). Summary of changes: sys/vfs/hammer/hammer.h | 23 +++- sys/vfs/hammer/hammer_inode.c | 3 +- sys/vfs/hammer/hammer_subs.c | 284 +++++++++++++++++++++++++++-------------- sys/vfs/hammer/hammer_vnops.c | 16 ++- 4 files changed, 222 insertions(+), 104 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/899eb297501681913674633aa0823adb6809437c -- DragonFly BSD source repository
文章代碼(AID): #1AN3I0y1 (DFBSD_commit)