Spdk/lib/bdev
Daniel Verkamp 6f6645e2d8 bdev/malloc: allow user to specify bdev name
The construct_malloc_bdev RPC method now takes an optional "name"
parameter to request a specific name for the created bdev, rather than
using the auto-generated Malloc%d-style name.

scripts/rpc.py is updated to add the new optional parameter, and it uses
-b/--name to match the corresponding parameter to construct_nvme_bdev.

Also update one of the test scripts to use the new parameter to get test
coverage.

Change-Id: I1f5bf76f406b8ea8a709d856f7624a38fbfa0d5f
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/381728
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2017-10-11 23:55:45 -04:00
..
aio bdev: add ENOMEM handling 2017-10-01 21:57:00 -04:00
error bdev: add callback to free part_base 2017-10-01 21:57:00 -04:00
gpt bdev/gpt: change the log level. 2017-10-11 14:00:16 -04:00
lvol bdev: remove bdev_opened field from spdk_bdev structure 2017-10-11 12:13:38 -04:00
malloc bdev/malloc: allow user to specify bdev name 2017-10-11 23:55:45 -04:00
null bdev/null: add Write Zeroes support 2017-09-25 16:31:49 -04:00
nvme bdev: add ENOMEM handling 2017-10-01 21:57:00 -04:00
pmem bdev_pmem: initial implementation of persistent memory bdev 2017-09-29 14:04:32 -04:00
rbd bdev: allow allocating custom-length buffers for bdev_io 2017-09-28 17:08:34 -04:00
rpc bdev: remove bdev_opened_for_write restriction 2017-09-20 14:43:32 -04:00
split bdev: add callback to free part_base 2017-10-01 21:57:00 -04:00
virtio bdev_virtio: slight cleanup 2017-10-10 17:41:12 -04:00
bdev.c bdev: remove bdev_opened field from spdk_bdev structure 2017-10-11 12:13:38 -04:00
Makefile bdev_pmem: initial implementation of persistent memory bdev 2017-09-29 14:04:32 -04:00
scsi_nvme.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00