script/rpc: fix bdev_set_qos_limit's usage error
Signed-off-by: JimboLuCN <jimbolucn@gmail.com> Change-Id: I67db5c7ef81ae77edefcc5ecf058826d3be8d2e8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3981 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
03aa8995e9
commit
dd3d5800b0
@ -805,7 +805,7 @@ if __name__ == "__main__":
|
|||||||
help='Set QoS rate limit on a blockdev')
|
help='Set QoS rate limit on a blockdev')
|
||||||
p.add_argument('name', help='Blockdev name to set QoS. Example: Malloc0')
|
p.add_argument('name', help='Blockdev name to set QoS. Example: Malloc0')
|
||||||
p.add_argument('--rw_ios_per_sec',
|
p.add_argument('--rw_ios_per_sec',
|
||||||
help='R/W IOs per second limit (>=10000, example: 20000). 0 means unlimited.',
|
help='R/W IOs per second limit (>=1000, example: 20000). 0 means unlimited.',
|
||||||
type=int, required=False)
|
type=int, required=False)
|
||||||
p.add_argument('--rw_mbytes_per_sec',
|
p.add_argument('--rw_mbytes_per_sec',
|
||||||
help="R/W megabytes per second limit (>=10, example: 100). 0 means unlimited.",
|
help="R/W megabytes per second limit (>=10, example: 100). 0 means unlimited.",
|
||||||
|
@ -1118,7 +1118,7 @@ def bdev_set_qos_limit(
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
name: name of block device
|
name: name of block device
|
||||||
rw_ios_per_sec: R/W IOs per second limit (>=10000, example: 20000). 0 means unlimited.
|
rw_ios_per_sec: R/W IOs per second limit (>=1000, example: 20000). 0 means unlimited.
|
||||||
rw_mbytes_per_sec: R/W megabytes per second limit (>=10, example: 100). 0 means unlimited.
|
rw_mbytes_per_sec: R/W megabytes per second limit (>=10, example: 100). 0 means unlimited.
|
||||||
r_mbytes_per_sec: Read megabytes per second limit (>=10, example: 100). 0 means unlimited.
|
r_mbytes_per_sec: Read megabytes per second limit (>=10, example: 100). 0 means unlimited.
|
||||||
w_mbytes_per_sec: Write megabytes per second limit (>=10, example: 100). 0 means unlimited.
|
w_mbytes_per_sec: Write megabytes per second limit (>=10, example: 100). 0 means unlimited.
|
||||||
|
Loading…
Reference in New Issue
Block a user