[PATCH 07/17] cxlflash: Flush pending commands in cleanup path
Matthew R. Ochs
mrochs at linux.vnet.ibm.com
Fri Jun 23 05:56:19 AEST 2017
> On Jun 21, 2017, at 9:14 PM, Uma Krishnan <ukrishn at linux.vnet.ibm.com> wrote:
>
> When the AFU is reset in an error path, pending scsi commands can be
> silently dropped without completion or a formal abort. This puts the onus
> on the cxlflash driver to notify mid-layer and indicating that the command
> can be retried.
>
> Once the card has been quiesced, the hardware send queue lock is acquired
> to prevent any data movement while the pending commands are processed.
>
> 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