cvs commit: src/sys/kern vfs_cache.c

看板DFBSD_commit作者時間21年前 (2005/03/09 13:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/4 (看更多)
dillon 2005/03/08 21:16:23 PST DragonFly src repository Modified files: sys/kern vfs_cache.c Log: Fix a serious bug in cache_inval_vp()'s TAILQ iteration through v_namecache. It was iterating using nc_entry instead of nc_vnode. The effect was, typically, to deadlock in the namecache locking code but could also result in the namecache topology becoming confused. Add code to detect and report vnode ripouts during the scan. This case can occur in certain rare circumstances because a held namecache structure only prevents it from being removed from the topology, it does not prevent it from being disassociated from a vnode. Reported-by: Michael van Tellingen <michael@synantics.nl> and Hiten Pandya <hmp@backplane.com> Revision Changes Path 1.52 +20 -1 src/sys/kern/vfs_cache.c http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cache.c.diff?r1=1.51&r2=1.52&f=u
文章代碼(AID): #12BefO00 (DFBSD_commit)
文章代碼(AID): #12BefO00 (DFBSD_commit)