Spdk/test/iscsi_tgt
GangCao 05b43152b2 QoS/Bdev: add RPC support for Read/Write separate bandwidth limits
This patch adds the RPC support for the Read/Write separate
bandwidth limit controls. The basic usage as following:

usage:
rpc.py set_bdev_qos_limit [-h] [--rw_ios_per_sec RW_IOS_PER_SEC]
                               [--rw_mbytes_per_sec RW_MBYTES_PER_SEC]
                               [--r_mbytes_per_sec R_MBYTES_PER_SEC]
                               [--w_mbytes_per_sec W_MBYTES_PER_SEC]
                               name

positional arguments:
  name       Blockdev name to set QoS. Example: Malloc0

optional arguments:
  -h, --help show this help message and exit
  --rw_ios_per_sec RW_IOS_PER_SEC
             R/W IOs per second limit (>=10000, example: 20000).
             0 means unlimited.
  --rw_mbytes_per_sec RW_MBYTES_PER_SEC
             R/W megabytes per second limit (>=10, example: 100).
             0 means unlimited.
  --r_mbytes_per_sec R_MBYTES_PER_SEC
             Read megabytes per second limit (>=10, example: 100).
             0 means unlimited.
  --w_mbytes_per_sec W_MBYTES_PER_SEC
             Write megabytes per second limit (>=10, example: 100).
             0 means unlimited.

Change-Id: I822ec4814d21adff9826ce03a6af3783b1b98f44
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.gerrithub.io/c/417650
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-01-22 23:21:43 +00:00
..
bdev_io_wait scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
calsoft test/iscsi: fix support for python 3.6 in calsoft.py 2019-01-14 05:45:35 +00:00
digests scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
ext4test test/iscsi: exclude *.o from ext4test.sh rsync 2018-10-15 22:20:17 +00:00
filesystem scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
fio test/iscsi_tgt: Port running_config test to JSON config and re-enable it. 2018-11-19 18:17:22 +00:00
initiator scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
ip_migration test/iscsi_tgt: Move ip_migration test from nightly to per-patch 2019-01-08 13:27:25 +00:00
lvol test/iscsi: add fio and lvol test cases with raid bdev 2018-09-15 00:16:50 +00:00
multiconnection scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
nvme_remote test/nvmf: Use create_transport instead of set_tgt_opts 2018-10-12 16:30:24 +00:00
perf test: mark iscsi_initiator.sh as executable 2018-12-19 19:16:08 +00:00
pmem scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
qos QoS/Bdev: add RPC support for Read/Write separate bandwidth limits 2019-01-22 23:21:43 +00:00
rbd scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
reset scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
rpc_config test/iscsi_tgt: fixup bytes to str for python 3.5 2018-12-17 19:41:15 +00:00
sock libsock: add functional tests 2018-11-07 17:08:27 +00:00
common.sh test/iscsi_tgt: Remove secondary process from iscsi_tgt tests. 2019-01-18 09:51:45 +00:00
iscsi_tgt.sh test/iscsi_tgt: Remove secondary process from iscsi_tgt tests. 2019-01-18 09:51:45 +00:00
test_plan.md test/iscsi: Add iscsi_tgt with NVML backend test 2017-10-19 13:00:27 -04:00