Spdk/test
Alexey Marchuk 52f1e4b029 nvme: Update spdk_nvme_wait_for_completion_robust_lock error handling
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>
2020-01-17 08:59:46 +00:00
..
app app: Add cli options to print SPDK version 2019-11-15 18:25:31 +00:00
bdev bdevperf: Reset g_run_rc to 0 after sending RPC reply 2020-01-16 09:16:52 +00:00
blobfs test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
blobstore test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
common sock: Add impl_name parameter in spdk_sock_listen/connect. 2020-01-16 09:11:32 +00:00
compress test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
config_converter rpc: Rename construct_vhost_blk_controller to vhost_create_blk_controller 2019-10-10 16:19:56 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
env test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
event test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
ftl lib/ftl: Use nbd during fio test 2020-01-16 12:33:17 +00:00
fuzz test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
ioat test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
iscsi_tgt test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
json_config test: Shellcheck - correct rule: Expanding an array 2019-11-27 07:08:57 +00:00
lvol test/lvol: rewrite construct_lvol_bdev_name_twice to bash 2020-01-10 08:46:07 +00:00
make autobuild.sh: simplify and unify test suite. 2020-01-14 07:49:08 +00:00
nvme test/nvme-perf: use core mask option with bdevperf 2020-01-16 09:21:18 +00:00
nvmf test/nvmf: Leave 2 seconds before starting the next shutdown test case 2020-01-16 09:16:52 +00:00
ocf test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
openstack test/openstack: Add possibility to reinstall devstack on required branch 2019-11-07 13:22:50 +00:00
pmem test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
rpc_client test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
spdkcli test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
unit nvme: Update spdk_nvme_wait_for_completion_robust_lock error handling 2020-01-17 08:59:46 +00:00
vhost test: Shellcheck - correct rule: Iterating over ls 2020-01-15 14:30:06 +00:00
vmd test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00