commit | bbead493a3b98dd11372cbdb5405ae9017cab367 | [log] [tgz] |
---|---|---|
author | Quinn Tran <quinn.tran@cavium.com> | Thu Dec 28 12:33:13 2017 -0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Jan 03 23:41:05 2018 -0500 |
tree | 8a5f3b397f63f8a8625c942a63dab8bdfd9853fd | |
parent | d1e3635a5ef2523e517068d0acb25533e739bf10 [diff] |
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>