+26
−5
Loading
Update error handling of spdk_nvme_wait_for_completion_timeout to differentiate cases when request is completed (possibly with error) or polling was aborted by timeout or transport/device error The function returns 0 on success, -ECANCELED if transport/device error occurred or operation timed out and -EIO if the request is completed with error Change-Id: I314f40d1acaa6cfa9b88e5417b1ee2c9801bbbd6 Signed-off-by:Alexey Marchuk <alexeymar@mellanox.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/481528 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>