+65
−0
+12
−0
Loading
Multiple nbd disks can be enabled by it. These
created nbd disks can only be running on app start
core at present.
Stop running spdk_nbd_disk by nbd subsystem_fini
Example nbd start rpc request:
{
"jsonrpc": "2.0",
"id": 1,
"method": "start_nbd_disk",
"params": {
"bdev_name": "AIO1",
"nbd_device": "/dev/nbd1"
}
}
Change-Id: I426a10e2fe709f1862e44a7b75318ccb83517b3e
Signed-off-by:
Xiaodong Liu <xiaodong.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/390344
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>