+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> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16402 (master) (cherry picked from commit 5f1b5f18) Change-Id: I9fdf19ce9b51bd552faa917e1e842f9ddfb111a1 Signed-off-by:
Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16468 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>