From 49911c47fb9bdae96cecd6a3f299cf87c4fba200 Mon Sep 17 00:00:00 2001 From: wanghailiangx Date: Wed, 11 Aug 2021 09:44:48 -0400 Subject: [PATCH] rpc: fix a description of method bdev_pmem_create_pool/total_size Change-Id: Ic17588a9e904e400ae898407af217bf5001a16a4 Signed-off-by: wanghailiangx Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9152 Tested-by: SPDK CI Jenkins Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu Reviewed-by: Aleksey Marchuk --- scripts/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rpc.py b/scripts/rpc.py index f8ad88a2c1..5492dbe4bc 100755 --- a/scripts/rpc.py +++ b/scripts/rpc.py @@ -2187,7 +2187,7 @@ Format: 'user:u1 secret:s1 muser:mu1 msecret:ms1,user:u2 secret:s2 muser:mu2 mse p = subparsers.add_parser('bdev_pmem_create_pool', aliases=['create_pmem_pool'], help='Create pmem pool') p.add_argument('pmem_file', help='Path to pmemblk pool file') - p.add_argument('total_size', help='Size of malloc bdev in MB (int > 0)', type=int) + p.add_argument('total_size', help='Size of pmem bdev in MB (int > 0)', type=int) p.add_argument('block_size', help='Block size for this pmem pool', type=int) p.set_defaults(func=bdev_pmem_create_pool)