]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: iscsi: ql4xxx: Use per-session workqueue for unbinding
authorMike Christie <michael.christie@oracle.com>
Sat, 26 Feb 2022 23:04:33 +0000 (17:04 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Mar 2022 04:56:28 +0000 (23:56 -0500)
commit1ba33519ed8b7cd273901d4810c3124450e7cd11
treea8b036f97075e5231ed5f0cddc12e8042ef7a5d8
parentb5b7bbdbb10b299ea0eb592005d44f88c21e15db
scsi: iscsi: ql4xxx: Use per-session workqueue for unbinding

We currently allocate a workqueue per host and only use it for removing the
target. For the session per host case we could be using this workqueue to
be able to do recoveries (block, unblock, timeout handling) in parallel. To
also allow offload drivers to do their session recoveries in parallel, this
drops the per host workqueue and replaces it with a per session one.

Link: https://lore.kernel.org/r/20220226230435.38733-5-michael.christie@oracle.com
Reviewed-by: Lee Duncan <lduncan@suse.com>
Reviewed-by: Chris Leech <cleech@redhat.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla4xxx/ql4_os.c
drivers/scsi/scsi_transport_iscsi.c
include/scsi/scsi_transport_iscsi.h