Re: [PATCH v2 14/30] cxlflash: Fix to avoid stall while waiting on TMF

2015-09-21 Thread Matthew R. Ochs
> On Sep 21, 2015, at 1:24 PM, Brian King wrote: > On 09/16/2015 04:30 PM, Matthew R. Ochs wrote: >> Borrowing the TMF waitq's spinlock causes a stall condition when >> waiting for the TMF to complete. To remedy, introduce our own spin >> lock to serialize TMF and use

Re: [PATCH v2 14/30] cxlflash: Fix to avoid stall while waiting on TMF

2015-09-21 Thread Brian King
On 09/16/2015 04:30 PM, Matthew R. Ochs wrote: > Borrowing the TMF waitq's spinlock causes a stall condition when > waiting for the TMF to complete. To remedy, introduce our own spin > lock to serialize TMF and use the appropriate wait services. Can you clarify what stall condition you were

[PATCH v2 14/30] cxlflash: Fix to avoid stall while waiting on TMF

2015-09-16 Thread Matthew R. Ochs
Borrowing the TMF waitq's spinlock causes a stall condition when waiting for the TMF to complete. To remedy, introduce our own spin lock to serialize TMF and use the appropriate wait services. Also add a timeout while waiting for a TMF completion. When a TMF times out, report back a failure such

[PATCH v2 14/30] cxlflash: Fix to avoid stall while waiting on TMF

2015-09-16 Thread Matthew R. Ochs
Borrowing the TMF waitq's spinlock causes a stall condition when waiting for the TMF to complete. To remedy, introduce our own spin lock to serialize TMF and use the appropriate wait services. Also add a timeout while waiting for a TMF completion. When a TMF times out, report back a failure such