numam-spdk/lib/bdev/malloc
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
..
bdev_malloc_rpc.c bdev/malloc: allow user to specify bdev name 2017-10-11 23:55:45 -04:00
bdev_malloc.c bdev/malloc: allow user to specify bdev name 2017-10-11 23:55:45 -04:00
bdev_malloc.h bdev/malloc: allow user to specify bdev name 2017-10-11 23:55:45 -04:00
Makefile bdev: rename blockdev instances to bdev 2017-07-14 13:31:30 -04:00