+18
−20
+3
−4
+1
−1
Loading
We don't support executing multiple control commands on single ublk device at same time, so no matter the RPC call is START or STOP, only one control command is allowed, so here just use one single callback for START and STOP RPC call, and we will also check the device state for STOP RPC call. For coming new RPC such as USER RECOVERY, we can also use the same callback. Change-Id: I9e5417a104f95c5f92ebeb4c82facd922ab1362e Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19945 Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>