+18
−16
Loading
Even if the NVMe bdev module supports I/O retry, it will not retry reset or abort. For clarification, bdev_nvme_reset_io() and bdev_nvme_abort() call bdev_nvme_io_complete() themselves for error cases. For bdev_nvme_abort(), we do not need to differentiate error processing among return values. Simply complete the request with failure. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Id5d51cbba47c6360a6177efd7d5f2e978c48ee9b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9674 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>