scsi: ibmvfc: Relax locking around ibmvfc_queuecommand()
authorTyrel Datwyler <tyreld@linux.ibm.com>
Wed, 6 Jan 2021 20:18:35 +0000 (14:18 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 8 Jan 2021 03:37:13 +0000 (22:37 -0500)
commit654080d02edb60a5842cae9cf14ff83fd352305f
tree268a0b828dcd418d2f8a2f48f6f2f8f4bf7bdde5
parent1f4a4a19508d61bf4dc6fb24ab7c1496d391a133
scsi: ibmvfc: Relax locking around ibmvfc_queuecommand()

The driver's queuecommand routine is still wrapped to hold the host lock
for the duration of the call. This will become problematic when moving to
multiple queues due to the lock contention preventing asynchronous
submissions to mulitple queues. There is no real legitimate reason to hold
the host lock, and previous patches have insured proper protection of
moving ibmvfc_event objects between free and sent lists.

Link: https://lore.kernel.org/r/20210106201835.1053593-6-tyreld@linux.ibm.com
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ibmvscsi/ibmvfc.c