[PATCH 06/17] cxlflash: Track pending scsi commands in each hardware queue
Matthew R. Ochs
mrochs at linux.vnet.ibm.com
Fri Jun 23 05:56:02 AEST 2017
> On Jun 21, 2017, at 9:14 PM, Uma Krishnan <ukrishn at linux.vnet.ibm.com> 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 at linux.vnet.ibm.com>
Acked-by: Matthew R. Ochs <mrochs at linux.vnet.ibm.com>
More information about the Linuxppc-dev
mailing list