[PATCH 5/6] nvme: return NVME_SC_ABORT_QUEUE for cancelled commands
Hannes Reinecke
hare at suse.de
Thu Feb 25 12:34:07 EST 2021
On 2/25/21 5:43 PM, Keith Busch wrote:
> On Thu, Feb 25, 2021 at 11:55:26AM +0100, Hannes Reinecke wrote:
>> A request will be cancelled when a queue is deleted, so we should
>> be returning a status of NVME_SC_ABORT_QUEUE.
>
> I'm not sure if this makes sense. The controller didn't return a status
> in this case, so the host is reclaiming the command absent a status from
> the controller. Is there a particular situation where this patch
> matters?
>
Not really. You are right, I guess I'll drop it.
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
More information about the Linux-nvme
mailing list