Spdk/module
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
..
accel update Intel copyright notices 2022-11-10 08:28:53 +00:00
bdev bdev_xnvme: Remove duplicate invocation of bdev_xnvme_destruct 2023-01-09 12:43:49 +00:00
blob blob: Use bdev copy command in CoW flow if supported 2022-12-08 12:54:54 +00:00
blobfs build: compile API functions with missing deps 2022-11-18 08:40:05 +00:00
env_dpdk update Intel copyright notices 2022-11-10 08:28:53 +00:00
event accel: add iobuf channel to accel channel 2023-01-09 12:37:37 +00:00
scheduler update Intel copyright notices 2022-11-10 08:28:53 +00:00
sock sock/ssl: call SSL_shutdown() prior to closing fd 2022-12-15 08:37:49 +00:00
vfu_device vfu/virtio-blk: add missed \n in error log 2022-12-21 12:25:48 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00