]> www.infradead.org Git - users/jedix/linux-maple.git/commit
[SCSI] mpt2sas: Fix for deadlock between hot plug worker threads and host reset context
authornagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com>
Wed, 19 Oct 2011 10:07:24 +0000 (15:37 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 16 Dec 2011 16:49:12 +0000 (11:49 -0500)
commit9ddaf690d2372b355d9cc4e16c0b3f08cef24e03
tree9a3498be60339d2a9ec5a4edaa870af010a1a9e9
parent69f1643510148250c862535bb6be773a6fda0bae
[SCSI] mpt2sas: Fix for deadlock between hot plug worker threads and host reset context

This is due to driver reporting a device missing to the OS then the OS sending
a SYNC_CACHE request to driver while the IO queues are locked due to host reset.

To fix the issue, the driver will be waking up the port enable context
immediately when the driver receives the reply message, instead of waiting
on the hot plug worker threads.

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