config_json callback is used to preserve all bdevs that were created during application runtime. xnvme bdev module was missing this callback. While here, io_mechanism is now saved in the bdev_xnvme structure for reference in the config_json. Haven't seen an option to pull this from xnvme itself. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I1a88ad2bb761f589d214fec8f0690c38572824d6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14116 Reviewed-by: Michal Berger <michal.berger@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
bdev_xnvme_rpc.c | ||
bdev_xnvme.c | ||
bdev_xnvme.h | ||
Makefile |