Spdk/scripts
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
..
ceph test/ceph: move ceph_raw.img to /var/tmp 2017-08-11 12:35:18 -04:00
perf/nvme scripts/perf/nvme/run_fio_test.py: fix formatting 2017-10-10 12:01:01 -04:00
vagrant vagrant: fix Vagrant provisioning 2017-09-11 18:25:17 -04:00
autotest_common.sh test/vhost: Fio tests for vhost initiator. 2017-10-11 11:10:13 -04:00
build_kmod.sh spdk: add the ioat_kperf test tool to autobuild system 2016-01-22 07:58:13 -07:00
check_format.sh virtio: add initial rev of virtio-scsi initiator bdev module 2017-08-22 11:54:15 -04:00
detect_cc.sh detect_cc.sh: further fix CC_TYPE generation 2017-05-11 16:45:24 -07:00
eofnl eofnl: check for DOS-style newlines 2016-11-29 11:15:18 -07:00
fio.py iscsi: Add an iscsi target application 2016-08-04 13:15:33 -07:00
gen_nvme.sh bdev/nvme: Names are now explicitly assigned by the user 2017-03-15 17:42:45 -07:00
genconfig.py genconfig.py: use print() for Python 3 compat 2017-06-02 19:46:47 -04:00
pkgdep.sh bdev_pmem: initial implementation of persistent memory bdev 2017-09-29 14:04:32 -04:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh fio: Add a script to prep a system for benchmarks 2017-05-31 04:00:41 -04:00
rpc.py bdev/malloc: allow user to specify bdev name 2017-10-11 23:55:45 -04:00
setup.sh scripts/setup: remove leftover config files from /run 2017-09-25 16:08:39 -04:00