aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2021-02-26 08:17:26 +0100
committerChristoph Hellwig <[email protected]>2021-03-11 11:48:34 +0100
commitd3589381987ec879b03f8ce3039df57e87f05901 (patch)
tree2eec8f55c576ae0850c82dd02104740e37af35fc /lib/mpi/mpiutil.c
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 <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Chao Leng <[email protected]> Reviewed-by: Daniel Wagner <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions