Re: [PATCH v6 13/37] cxlflash: Fix to avoid stall while waiting on TMF

2015-10-23 Thread Tomas Henzl
On 21.10.2015 22:13, 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. > > Also add a timeout while waiting for a TMF

[PATCH v6 13/37] cxlflash: Fix to avoid stall while waiting on TMF

2015-10-21 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