]> Git Repo - linux.git/commit
scsi: ibmvfc: Complete commands outside the host/queue lock
authorTyrel Datwyler <[email protected]>
Wed, 6 Jan 2021 20:18:34 +0000 (14:18 -0600)
committerMartin K. Petersen <[email protected]>
Fri, 8 Jan 2021 03:37:13 +0000 (22:37 -0500)
commit1f4a4a19508d61bf4dc6fb24ab7c1496d391a133
tree397db39104a817875fc267580b394e864ef6d927
parent57e80e0bc108589a5373a1f2e2ef5f0e6ad5e55b
scsi: ibmvfc: Complete commands outside the host/queue lock

Drain the command queue and place all commands on a completion list.
Perform command completion on that list outside the host/queue locks.
Further, move purged command compeletions outside the host_lock as well.

Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Brian King <[email protected]>
Signed-off-by: Tyrel Datwyler <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/ibmvscsi/ibmvfc.c
drivers/scsi/ibmvscsi/ibmvfc.h
This page took 0.055531 seconds and 4 git commands to generate.