> On Jun 21, 2017, at 9:14 PM, Uma Krishnan <ukrishn@xxxxxxxxxxxxxxxxxx> wrote: > > Currently, there is no book keeping of the pending scsi commands in the > cxlflash driver. This lack of tracking in-flight requests is too > restrictive and requires a heavy-hammer reset each time an adapter error is > encountered. Additionally, it does not allow for commands to be properly > retried. > > In order to avoid this problem and to better handle error path command > cleanup, introduce a linked list for each hardware queue that tracks > pending commands. > > Signed-off-by: Uma Krishnan <ukrishn@xxxxxxxxxxxxxxxxxx> Acked-by: Matthew R. Ochs <mrochs@xxxxxxxxxxxxxxxxxx>