[PATCH 4/5 v2] ibmvfc: relax locking around ibmvfc_queuecommand

Tyrel Datwyler tyreld at linux.ibm.com
Tue Jan 5 09:19:34 AEDT 2021


On 1/4/21 2:17 PM, Tyrel Datwyler wrote:
> The drivers 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 legatimate reason to
> hold the host lock, and previous patches have insured proper protection
> of moving ibmvfc_event objects between free and sent lists.
> 
> Signed-off-by: Tyrel Datwyler <tyreld at linux.ibm.com>
> Reviewed-by: Brian King <brking at linux.vnet.ibm.com>
> ---

Ignore. This is the wrong updated patch.

-Tyrel


More information about the Linuxppc-dev mailing list