qla2xxx lock ordering question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

a question about qla2xxx lock ordering since it trips up with Ingo's
lock depenceny tool:

in qla2x00_mailbox_command() the code first grabs the mbx_reg_lock lock,
then the hardware_lock. So far so good. But then...
it drops the mbx_reg_lock, does stuff, and regrabs the mbx_reg_lock
lock, while keeping the hardware_lock held!

This appears to be an AB-BA deadlock risk since for the second part you
are taking the locks in the wrong order... or am I missing something
here?

Greetings,
   Arjan van de Ven

-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux