qla2xxx: Remove dependency on hardware_lock to reduce lock contention.
authorQuinn Tran <quinn.tran@qlogic.com>
Thu, 17 Dec 2015 19:57:04 +0000 (14:57 -0500)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 7 Jan 2016 21:57:46 +0000 (13:57 -0800)
commit7560151b6b3c1f4432c1c5b5b6496070d1f38484
treeb929486880b266742d07197ab54fc0933afe8831
parent193b50b9d54a4fcb723a8005b29d8dd5518e3ae2
qla2xxx: Remove dependency on hardware_lock to reduce lock contention.

Sessions management (add, deleted, modify) currently are serialized
through the hardware_lock.  Hardware_lock is a high traffic lock.
This lock is accessed by both the transmit & receive sides.

Sessions management is now moved off to another lock call sess_lock.
This is done to reduce lock contention and increase traffic throughput.

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>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/qla2xxx/qla_target.c
drivers/scsi/qla2xxx/tcm_qla2xxx.c