17e9f58f1f
It is possible that the application calls get_io_channel during nvme controller reset. In that case IO qpair won't be created and the application will get a NULL pointer. It is possible to repeat get_io_channel later but there is no such indiciation for the application, so it can't distinguish between a real failure and "try again" case during controller reset. This patch ignores IO qpair creation error if controller is resetting. IO qpair will be created when reset completes. Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: Id39202f5a6878453ff54e35df91d5dc49a5f046a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10828 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuheimatsumoto@gmail.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
aio | ||
compress | ||
crypto | ||
delay | ||
error | ||
ftl | ||
gpt | ||
iscsi | ||
lvol | ||
malloc | ||
null | ||
nvme | ||
ocf | ||
passthru | ||
pmem | ||
raid | ||
rbd | ||
split | ||
uring | ||
virtio | ||
zone_block | ||
Makefile |