git: HAMMER VFS - hammer_inode / vp races

看板DFBSD_commit作者時間16年前 (2010/01/15 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit e0092341a30906d2f43d89f76d181dd96ccb9802 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Jan 14 20:01:54 2010 -0800 HAMMER VFS - hammer_inode / vp races * The hammer_inode must be locked when clearing the vp during a reclaim to interlock with a concurrent reclaim. * hammer_get_vnode() must hold the vp while holding the hammer_inode locked to prevent destruction when racing against drops or reclaims. * Remove the HAMMER_INODE_VHELD flag. Backend truncations and the last inode release should acquire the vnode properly now in hammer_inode_unloadable_check(). Summary of changes: sys/vfs/hammer/hammer.h | 2 +- sys/vfs/hammer/hammer_inode.c | 32 +++++++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e0092341a30906d2f43d89f76d181dd96ccb9802 -- DragonFly BSD source repository
文章代碼(AID): #1BJ-_AXz (DFBSD_commit)