[PATCH 5/5] nvme: return -ETIMEDOUT in nvme_submit_sync_cmd()
Daniel Wagner
dwagner at suse.de
Wed Jan 27 06:00:19 EST 2021
On Wed, Jan 27, 2021 at 11:33:26AM +0100, Hannes Reinecke wrote:
> When a command times out we should be returning -ETIMEDOUT in
> nvme_submit_sync_cmd(), and not requiring the caller to guess whether
> a specific NVMe status should be interpreted as a timeout.
>
> Signed-off-by: Hannes Reinecke <hare at suse.de>
Reviewed-by: Daniel Wagner <dwagner at suse.de>
More information about the Linux-nvme
mailing list