rpc: Fix rr-min-io parameter in bdev_nvme_set_multipath_policy method
Signed-off-by: Evgeniy Kochetov <evgeniik@nvidia.com> Change-Id: I7f13ceb220e021364c808ba995c7ba7ed67de971 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17221 Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
This commit is contained in:
parent
76a2663e43
commit
d4d57898cb
@ -872,7 +872,9 @@ if __name__ == "__main__":
|
||||
p.add_argument('-b', '--name', help='Name of the NVMe bdev', required=True)
|
||||
p.add_argument('-p', '--policy', help='Multipath policy (active_passive or active_active)', required=True)
|
||||
p.add_argument('-s', '--selector', help='Multipath selector (round_robin, queue_depth)', required=False)
|
||||
p.add_argument('-r', '--rr-min-io', help='Number of IO to route to a path before switching to another for round-robin', required=False)
|
||||
p.add_argument('-r', '--rr-min-io',
|
||||
help='Number of IO to route to a path before switching to another for round-robin',
|
||||
type=int, required=False)
|
||||
p.set_defaults(func=bdev_nvme_set_multipath_policy)
|
||||
|
||||
def bdev_nvme_get_path_iostat(args):
|
||||
|
Loading…
Reference in New Issue
Block a user