Re: [issue1942] non-zero exclusive count(Re: locking against

看板DFBSD_bugs作者時間15年前 (2010/12/29 17:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/5 (看更多)
Ok, I think I fixed the non-zero exclusive count panic, please try with the latest master (I pushed it). It looks like a shared->exclusive upgrade can steal an exclusive lock out from under an exclusive lock request. The exclusive lock request uses two acquire() operations internally and the upgrade can slip in inbetween them. The recursive lock that my hold/drop patch addresses is still an issue. The hold/drop patch fixes it but might have other problems (the buffer can still be invalidated while hold). I'm still looking into that. Please test. -Matt
文章代碼(AID): #1D6lZJE4 (DFBSD_bugs)
討論串 (同標題文章)
文章代碼(AID): #1D6lZJE4 (DFBSD_bugs)