]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe49a4bc22fabfec48acf9ee692811e2612d12d1
treecfcc4b2e5302bf2871a1783a50acc55fbc4bd056
parenta15b70a5462587c83cf086ae4ba9fcebec2deeeb
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