numam-spdk/scripts
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
..
ceph test: Shellcheck - correct rule: Consider using { cmd1; cmd2; } 2019-11-22 13:51:15 +00:00
perf scripts/perf/nvmf: remove hard-coded fio directory 2019-10-10 16:19:23 +00:00
rpc bdev/ocssd: parallel unit ranges 2019-12-20 10:02:15 +00:00
spdkcli module/raid: make raid_level an enum instead of plain integer 2019-11-01 14:34:32 +00:00
vagrant scripts/vagrant: Adjust Vagrantfile for FreeBSD boxes 2019-12-16 12:30:47 +00:00
check_format.sh test: Shellcheck - move rule SC2120 to permanent exception list. 2019-12-04 15:22:07 +00:00
common.sh test: Shellcheck - apply rule SC2155 2019-11-12 18:14:59 +00:00
config_converter.py rpc: Rename construct_vhost_blk_controller to vhost_create_blk_controller 2019-10-10 16:19:56 +00:00
detect_cc.sh make: override scan-build for unit tests. 2019-09-11 16:30:38 +00:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio.py scripts/fio.py: add argparse for command line parameters 2019-06-03 04:34:10 +00:00
gdb_macros.py scripts: Use range instead of xrange 2019-02-13 22:54:15 +00:00
gen_ftl.sh test: Shellcheck - apply rule SC2214 2019-10-11 18:46:21 +00:00
gen_nvme.sh rpc: Rename construct_nvme_bdev to bdev_nvme_attach_controller 2019-09-18 21:53:25 +00:00
gen_rbd.sh test/bdev: add Ceph RBD bdev to bdev tests 2018-02-26 11:12:35 -05:00
genconfig.py scripts:Fix Python errors in checking scripts 2019-02-12 18:37:09 +00:00
histogram.py histograms: add script for parsing histogram data 2019-01-24 14:14:32 +00:00
pkgdep.sh lib/nvme: add NVMe character device 2019-10-24 23:43:59 +00:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh test: Shellcheck - correct rule: $/${} is unnecessary on arithmetic variables. 2019-11-07 23:04:10 +00:00
qat_setup.sh test: Shellcheck - correct rule: Double quote array 2019-11-27 07:08:57 +00:00
rpc_http_proxy.py scripts, test: fix python overindent issues 2019-04-04 03:59:12 +00:00
rpc.py bdev/ocssd: parallel unit ranges 2019-12-20 10:02:15 +00:00
setup.sh test: Shellcheck - correct rule: Quotes/backslashes... 2019-12-04 15:22:07 +00:00
spdkcli.py spdkcli: fix pylint warnings 2019-10-22 17:23:00 +00:00