Micha? Miros?aw wrote:
> On Wed, Feb 20, 2008 at 12:03:21PM -0600, Mike Christie wrote:
>> Micha? Miros?aw wrote:
>>> I found a deadlock in iSCSI while tearing down connection of an
>>> actively used device (as one of dm-multipath paths). Connection is
>>> made between Linux 2.6.24.2 (from kernel.org) and Cisco MDS 9216i. Is
>>> this BUG already known (and maybe fixed in newer release)? It's
>>> perfectly reproducible here.
>> This will be fixed in 2.6.25 and the next release of the open-iscsi.org 
>> release (here is the current test release for that 
>> http://www.open-iscsi.org/bits/open-iscsi-2.0-868-test1.tar.gz).
> 
> With above version system no longer deadlocks, but there still is a
> problem detected by lockdep. Kernel log attached.
> 
> Best Regards,
> Michal Miroslaw
> 
> Feb 21 11:30:30 sanmgt kernel: sd 3:0:0:0: [sdi] Synchronizing SCSI cache
> Feb 21 11:30:30 sanmgt kernel: sd 3:0:0:1: [sdj] Synchronizing SCSI cache
> Feb 21 11:30:30 sanmgt kernel: device-mapper: multipath: Failing path 8:144.
> Feb 21 11:30:30 sanmgt kernel:
> Feb 21 11:30:30 sanmgt kernel: 
> =======================================================
> Feb 21 11:30:30 sanmgt kernel: [ INFO: possible circular locking dependency 
> detected ]
> Feb 21 11:30:30 sanmgt kernel: 2.6.24.2 #6
> Feb 21 11:30:30 sanmgt kernel: 
> -------------------------------------------------------
> Feb 21 11:30:30 sanmgt kernel: iscsid/18988 is trying to acquire lock:


I think that the circular locking is possible if we had devices when we 
remove the iscsi_host, but because we remove the session and session's 
devices before starting the iscsi_host/scsi_host removal, we will never 
hit the scenario where we are removing the ihost's workqueue and the 
workqueue needs to grab the attribute_container_mutex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to