Spdk/test/spdkcli
GangCao 868c28cd13 QoS/Bdev: add the RPC support for the bandwidth rate limit
This patch added the support of RPC method to enable,
adjust, disable the bandwidth rate limit on the bdev.

And it can work together with the existing IOPS rate limit.

The RPC method has been consolidated to support both IOPS
and bandwidth rate limits as below:

usage:
rpc.py set_bdev_qos_limit [-h]
                          [--rw_ios_per_sec RW_IOS_PER_SEC]
                          [--rw_mbytes_per_sec RW_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.

Change-Id: I9c03cd635280add01801a81c6a6c02f0cf85bee1
Signed-off-by: GangCao <gang.cao@intel.com>
Reviewed-on: https://review.gerrithub.io/416511
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-10-09 18:26:44 +00:00
..
match_files QoS/Bdev: add the RPC support for the bandwidth rate limit 2018-10-09 18:26:44 +00:00
common.sh Check file permissions in the check_format script 2018-10-04 23:08:12 +00:00
iscsi.sh test: fix the test error reported by the testpool 2018-10-08 05:30:49 +00:00
nvmf.sh test/spdkcli: Add a match file and match comparison to nvmf test 2018-10-02 22:14:43 +00:00
pmem.sh test/spdkcli: Test for pmem bdev. 2018-07-26 22:23:41 +00:00
rbd.sh test/spdkcli: Add few changes 2018-07-26 22:23:41 +00:00
spdkcli_job.py scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
vhost.sh scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
virtio.sh test/spdkcli: Test for virtio bdevs. 2018-07-27 16:48:02 +00:00