[SCSI] mpt2sas: move even handling of MPT2SAS_TURN_ON_FAULT_LED into process context
commit3ace8e052be5293ebb3e00f819effccc64108a38
authorKashyap, Desai <kashyap.desai@lsi.com>
Wed, 4 May 2011 11:05:58 +0000 (4 16:35 +0530)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 24 May 2011 16:33:01 +0000 (24 12:33 -0400)
treed53bbc6d6088e73356c411b06873e1788cfa0da8
parentd762f4383100c2a87b1a3f2d678cd3b5425655b4
[SCSI] mpt2sas: move even handling of MPT2SAS_TURN_ON_FAULT_LED into process context

Driver was a sending a SEP request during interrupt context which
required to go to sleep.

The fix is to rearrange the code so a fake event
MPT2SAS_TURN_ON_FAULT_LED is fired from interrupt context, then later
during the kernel worker threads processing, the SEP request is issued
to firmware.

Cc: stable@kernel.org
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c