]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: support command retry delay for admin command
authorMinwoo Im <minwoo.im.dev@gmail.com>
Fri, 8 Jan 2021 14:46:57 +0000 (23:46 +0900)
committerChristoph Hellwig <hch@lst.de>
Tue, 2 Feb 2021 09:26:10 +0000 (10:26 +0100)
commit661dde2cf78c200e91ba111b0efa4abd53004f1e
tree5f20c63489399b51bda5a9e7f315ac78b864506d
parentf51d57b96163b64f18acfcc7e001267bac7d5b07
nvme: support command retry delay for admin command

The controller can request a delay retrying a failed command by setting
the Command Retry Delay (CRD) field in the Completion Queue Entry.

Currentlty this features is only applied to commands on the I/O queue, but
not to commands on the admin queue.  Retreive the nvme_ctrl from the
request so that no namespace is required and apply the feature to all
commands.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c