]> www.infradead.org Git - users/jedix/linux-maple.git/commit
[SCSI] mpt2sas: Release spinlock for the raid device list before blocking it
authornagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com>
Thu, 1 Dec 2011 02:22:56 +0000 (07:52 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 16 Dec 2011 16:49:30 +0000 (11:49 -0500)
commit590da33d7546cf04f34b09368785efe4eb1df7a5
treed526a08bab1ae6911562251a6740086346ba0e98
parent581902620c4caeb0a4ad65a6d78370d54d8de966
[SCSI] mpt2sas: Release spinlock for the raid device list before blocking it

Added code to release the spinlock that is used to protect the
raid device list before calling a function that can block. The
blocking was causing a reschedule, and subsequently it is tried
to acquire the same lock, resulting in a panic (NMI Watchdog
detecting a CPU lockup).

Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c