Re: [PATCH 1/2] nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request()
From: Daniel Wagner <hidden>
Date: 2021-01-27 09:15:23
From: Daniel Wagner <hidden>
Date: 2021-01-27 09:15:23
On Wed, Jan 27, 2021 at 09:06:04AM +0100, Hannes Reinecke wrote:
NVME_REQ_CANCELLED is translated into -EINTR in nvme_submit_sync_cmd(), so we should be setting this flags during nvme_cancel_request() to ensure that the callers to nvme_submit_sync_cmd() will get the correct error code when the controller is reset. Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Daniel Wagner <redacted> _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme