[Ocfs2-devel] Deadlock in dlmmaster.c

Jan Kucera xatrix101 at gmail.com
Sun May 3 13:33:18 PDT 2009


Hi,

I've found some possible deadlock in fs/ocfs2/dlm/dlmmaster.c - version
2.6.28 (probably this code is in newer versions too).
Could someone confirm this? Thank you.


fs/ocfs2/dlm/dlmmaster.c
==================

function dlm_master_request_handler: (res->spinlock <- dlm->master_lock)
-----------------------------------
spin_lock(&res->spinlock); at line 1427
spin_lock(&dlm->master_lock); at line 1475

function dlm_migrate_request_handler: (dlm->master_lock <- res->spinlock)
-------------------------------------------------------
spin_lock(&dlm->master_lock) at line 3036
spin_lock(&res->spinlock); at line 3039



caught by Stanse
(http://iti.fi.muni.cz/stanse/)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20090503/7592bfb1/attachment-0001.html 


More information about the Ocfs2-devel mailing list