summaryrefslogtreecommitdiff
path: root/drivers/nvme/host/Kconfig
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2021-02-26 08:17:26 +0100
committerChristoph Hellwig <hch@lst.de>2021-03-11 11:48:34 +0100
commitd3589381987ec879b03f8ce3039df57e87f05901 (patch)
tree2eec8f55c576ae0850c82dd02104740e37af35fc /drivers/nvme/host/Kconfig
parentd95c1f4179a7f3ea8aa728ed00252a8ed0f8158f (diff)
nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request()
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: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chao Leng <lengchao@huawei.com> Reviewed-by: Daniel Wagner <dwagner@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/Kconfig')
0 files changed, 0 insertions, 0 deletions