+9
−8
Loading
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>