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 |
||
---|---|---|
.. | ||
bdev_xnvme_rpc.c | ||
bdev_xnvme.c | ||
bdev_xnvme.h | ||
Makefile |