Spdk/lib/ublk
Liu Xiaodong 0d01a22b67 ublk: fix error case in ublk_finish_start
Use ublk_close_dev_done to release obtained resource
after UBLK_CMD_ADD_DEV is executed in the ublk device
start process.
Rename ublk_delete_dev to ublk_free_dev,
and ublk_close_dev_done to ublk_delete_dev

Also using the correct way -- io_uring_queue_exit()
to release uring in ublk instead of just closing uring fd.

Change-Id: I46a1ddea162adeb6dfe8c9b45082ed2f93f4b309
Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16460
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2023-01-26 17:22:04 +00:00
..
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
spdk_ublk.map ublk: add configure and event/subsystem 2023-01-20 07:48:25 +00:00
ublk_internal.h ublk: add an rpc method to get current ublk devices 2023-01-20 07:48:25 +00:00
ublk_rpc.c ublk: add an rpc method to get current ublk devices 2023-01-20 07:48:25 +00:00
ublk.c ublk: fix error case in ublk_finish_start 2023-01-26 17:22:04 +00:00