+1
−1
+11
−0
+2
−0
lib/nbd/nbd_rpc.c
0 → 100644
+99
−0
+1
−0
Loading
Use soft-disconnection to stop nbd disk
Examople RPC request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "stop_nbd_disk",
"params": {
"nbd_device": "/dev/nbd0"
}
}
Change-Id: I3d9161635b4422bbb9895914a03483dbaa6b6386
Signed-off-by:
Xiaodong Liu <xiaodong.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/389781
Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>
Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by:
Jim Harris <james.r.harris@intel.com>
Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com>