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