Spdk/module
Denis Barakhtanov 9191665486 bdev/daos: early bdev creation failure detection
If during a channel creation, an error happens, due to incorrect parameters
e.g. wrong pool / container name, or some other internal DAOS errors (like
reaching CART context limit), bdev_daos_io_channel_create_cb() signals
about such errors, however, spdk_io_device_register() does not takes them into account.
The device creation succeeds, returning successful RPC response and leaving bdev
in the bdev lists but it's completely unusable and not amendable.

This patch tries to detect it early and return an RPC error on failure.

Signed-off-by: Denis Barakhtanov <denis.barahtanov@croit.io>
Change-Id: I04758e6243566b4e619a1420aa7c01f6041441a6
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15168
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2022-11-02 10:50:35 +00:00
..
accel accel/idxd/iaa: Convert to use iovecs 2022-09-23 00:10:08 +00:00
bdev bdev/daos: early bdev creation failure detection 2022-11-02 10:50:35 +00:00
blob blob: Optimize copy-on-write flow for clusters backed by zeroes device 2022-09-05 12:49:46 +00:00
blobfs Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
env_dpdk Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
event lib/vfu_tgt: add library for PCI device emulation 2022-09-29 19:42:56 +00:00
scheduler lib/event: do not set default scheduling period during init 2022-06-20 09:56:09 +00:00
sock sock: Ensure recv/send_buf_size to be larger than g_sock_impl_opts.recv/send_buf_size 2022-10-21 07:17:37 +00:00
vfu_device module/vfu_device: add virtio-scsi emulation 2022-09-29 19:42:56 +00:00
Makefile module/vfu_device: add virtio-blk emulation 2022-09-29 19:42:56 +00:00