Spdk/test
Konrad Sztyber 64fe514efa bdev/ocssd: parallel unit ranges
This patch adds the ability to create bdevs on specified parallel unit
ranges on one OCSSD controller.  It allows the user to create multiple
isolated bdevs, each operating on a separate set of parallel units.

To create a bdev on a specified range, a new parameter -r|--range was
added. For example:
 rpc.py bdev_ocssd_create -c nvme0 -b nvme0n1 -r 0-4

will create a bdev on parallel units 0 through 4 (inclusive).  If the
parameter is ommited, the bdev will span across all available units.

Change-Id: Icd94cf1e22fcc72806ef1ce1efd2d7031010009f
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469898
Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-12-20 10:02:15 +00:00
..
app app: Add cli options to print SPDK version 2019-11-15 18:25:31 +00:00
bdev bdevperf: Unify the units with perf. 2019-12-19 11:04:39 +00:00
blobfs test/rocksdb: convert test cases to run_test 2019-12-10 17:12:03 +00:00
blobstore test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
common test: properly handle the killprocess case 2019-12-17 15:28:37 +00:00
compress test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
config_converter rpc: Rename construct_vhost_blk_controller to vhost_create_blk_controller 2019-10-10 16:19:56 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
env env: Use rte_malloc in spdk_mem_register code path when possible 2019-12-11 11:05:10 +00:00
event test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
ftl test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
fuzz test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
ioat test/ioat: clean up timing calls. 2019-12-10 17:12:03 +00:00
iscsi_tgt test/iscsi: convert data_digests tests to run_test 2019-12-10 17:12:03 +00:00
json_config test: Shellcheck - correct rule: Expanding an array 2019-11-27 07:08:57 +00:00
lvol test/lvol: use the run_test framework directly 2019-12-10 17:12:03 +00:00
make test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
nvme test/vhost: shell_restore_x -> xtrace_restore 2019-12-17 14:54:40 +00:00
nvmf test: properly handle the killprocess case 2019-12-17 15:28:37 +00:00
ocf test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
openstack test/openstack: Add possibility to reinstall devstack on required branch 2019-11-07 13:22:50 +00:00
pmem test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
rpc_client test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
spdkcli test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
unit bdev/ocssd: parallel unit ranges 2019-12-20 10:02:15 +00:00
vhost test/vhost: convert migration tests to run_test 2019-12-17 14:54:40 +00:00
vmd test/vmd: convert to run_test framework 2019-12-10 17:12:03 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00