Spdk/lib/ublk
Jim Harris 5f1b5f18ae ublk: change where new dev's ublk file gets opened
Upcoming patches will submit ctrl cmds and wait for
them to complete asynchronously.  So we will want to
first send the ADD_DEV and SET_PARAMS commands, wait
for them to complete, and only then open the ublk
device file.

So to prepare for that sequencing, move the open()
from _ublk_start_disk to ublk_start_disk.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I9fdf19ce9b51bd552faa917e1e842f9ddfb111a1
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16402
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Xiaodong Liu <xiaodong.liu@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2023-01-23 17:48:10 +00:00
..
Makefile ublk: add ublk target creation and destruction 2023-01-20 07:48:25 +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: change where new dev's ublk file gets opened 2023-01-23 17:48:10 +00:00