Re: [PATCH v3 18/18] ibmvfc: drop host lock when completing commands in CRQ

2020-12-04 Thread Tyrel Datwyler
On 12/4/20 1:35 PM, Brian King wrote: > On 12/2/20 8:08 PM, Tyrel Datwyler wrote: >> The legacy CRQ holds the host lock the even while completing commands. >> This presents a problem when in legacy single queue mode and >> nr_hw_queues is greater than one since calling scsi_done() introduces >> the

Re: [PATCH v3 18/18] ibmvfc: drop host lock when completing commands in CRQ

2020-12-04 Thread Brian King
On 12/2/20 8:08 PM, Tyrel Datwyler wrote: > The legacy CRQ holds the host lock the even while completing commands. > This presents a problem when in legacy single queue mode and > nr_hw_queues is greater than one since calling scsi_done() introduces > the potential for deadlock. > > If nr_hw_queue

[PATCH v3 18/18] ibmvfc: drop host lock when completing commands in CRQ

2020-12-02 Thread Tyrel Datwyler
The legacy CRQ holds the host lock the even while completing commands. This presents a problem when in legacy single queue mode and nr_hw_queues is greater than one since calling scsi_done() introduces the potential for deadlock. If nr_hw_queues is greater than one drop the hostlock in the legacy