+13
−2
+3
−1
+41
−13
Loading
Since ublk_start_disk internally runs ublk_ctrl_cmd asynchorously, the result should be returned after the whole process of ublk_start_disk is completed. Add a callback into ublk_start_disk parameter, and change rpc_ublk_start_disk to send response in callback. Change-Id: Icc0d9e8cb81f2b67bf99fdead423bfe8159714bc Signed-off-by:Liu Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16500 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>