]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Chip reset uses wrong lock during IO flush.
authorQuinn Tran <quinn.tran@cavium.com>
Thu, 28 Dec 2017 20:33:13 +0000 (12:33 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Jan 2018 04:41:05 +0000 (23:41 -0500)
commitf30d37d78301744b8556cc087b1aa4a2a28afa6e
tree8a5f3b397f63f8a8625c942a63dab8bdfd9853fd
parent59daa3332997d9d2f8666cae133322aed20b5cec
scsi: qla2xxx: Chip reset uses wrong lock during IO flush.

As part of chip reset, all commands from all QPairs are
flushed. This patch fixes code to use Q Pair lock for flush
instead of using old hardware_lock.

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_os.c