scsi: lpfc: Fix Abort request WQ selection
authorJames Smart <jsmart2021@gmail.com>
Mon, 9 Apr 2018 21:24:25 +0000 (14:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 Apr 2018 23:34:02 +0000 (19:34 -0400)
commit59c68eaad7303f9f1d42a83b223aa6a2c254aaa0
treecfcc4b2e5302bf2871a1783a50acc55fbc4bd056
parent2448e484259debb1cb8f00a06a8a0a2c6edd9d80
scsi: lpfc: Fix Abort request WQ selection

When running loads that generated aborts, io errors where seen.  Turns
out the abort requests where not placed on the proper WQ resulting in
the errors. Closer inspection inspection of this error also showed
improper spinlock api use.

Correct the WQ selection policy for the abort requests.  Correct
spin_lock/spin_lock_irq/spin_lock_irqsave usage.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_scsi.c
drivers/scsi/lpfc/lpfc_sli.c