]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Move ABTS code behind qpair
authorQuinn Tran <quinn.tran@cavium.com>
Tue, 4 Sep 2018 21:19:20 +0000 (14:19 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Sep 2018 00:28:09 +0000 (20:28 -0400)
commit0665677c15ebe1b5aa8512a254053839a829b317
tree254fb67c735042b863532f0c437fe5079391df9f
parent6a37351721e255fc097acf8894014f325b776598
scsi: qla2xxx: Move ABTS code behind qpair

Current abort code defaults to legacy single queue where hardware_lock is used
to protect command search.  This patch moves this code behind the QPair where
the qp_lock_ptr will reference the appropriate lock for either legacy/single
queue or MQ.

Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_os.c