]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Move atioq to a different lock to reduce lock contention
authorQuinn Tran <quinn.tran@qlogic.com>
Wed, 13 Sep 2017 09:39:38 +0000 (15:09 +0530)
committerBrian Maly <brian.maly@oracle.com>
Thu, 2 Nov 2017 18:14:15 +0000 (14:14 -0400)
commit95938bd9144c432a74a7fe7b57064155a2348637
tree1437f8feddf2b27b60cd3757e8b261f8b2483ff0
parente4a871eae01ed159295b7fe94d44b2254b88c26d
qla2xxx: Move atioq to a different lock to reduce lock contention

Orabug: 2684419726923029

 99% of the time the ATIOQ has SCSI command.  The other 1% of time
 is something else.  Most of the time this interrupt does not need
 to hold the hardware_lock.  We're moving the ATIO interrupt thread
 to a different lock to reduce lock contention.

Signed-off-by: Quinn Tran <quinn.tran@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/qla2xxx/qla_target.c
drivers/scsi/qla2xxx/qla_target.h