Spdk/module/bdev/xnvme
Krishna Kanth Reddy d093a9fb85 bdev_xnvme: Remove duplicate invocation of bdev_xnvme_destruct
Fix for the issue 2803.
Reporting an error when deleting xnvme bdev.

bdev_xnvme_destruct gets invoked from the fn_table->destruct prior to
the xnvme_bdev_unregister_cb while deleting the xnvme bdev.

Hence removed the duplicate invocation of bdev_xnvme_destruct in
the function xnvme_bdev_unregister_cb.

Additionally, fixed the hang issue when the bdev_xnvme_delete
gets called multiple times for a xnvme bdev.

Signed-off-by: Krishna Kanth Reddy <krish.reddy@samsung.com>
Change-Id: Ie36a84987ace20d324b7a139ca67fd60bf46e25b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16144
Reviewed-by: Ye Chen <yex.chen@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2023-01-09 12:43:49 +00:00
..
bdev_xnvme_rpc.c bdev_xnvme: Remove duplicate invocation of bdev_xnvme_destruct 2023-01-09 12:43:49 +00:00
bdev_xnvme.c bdev_xnvme: Remove duplicate invocation of bdev_xnvme_destruct 2023-01-09 12:43:49 +00:00
bdev_xnvme.h bdev_xnvme: add option to conserve cpu and set default to false 2022-12-21 09:33:27 +00:00
Makefile bdev : xNVMe BDEV module implementation 2022-07-15 12:52:13 +00:00