From 9cc91659476f2eaff2d2b8e578bae22d6d436cc5 Mon Sep 17 00:00:00 2001 From: Haichao Li Date: Fri, 17 Apr 2020 10:44:54 +0800 Subject: [PATCH] doc/jsonrpc: Fix volume size description error The function bdev_lvol_create and bdev_lvol_resize actually passes in the size parameter as bytes instead of magebytes. Signed-off-by: Haichao Li Change-Id: Ic47e799fb461c51816e696f2b03aa41ac517d421 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1906 Community-CI: Mellanox Build Bot Reviewed-by: Yibo Cai Reviewed-by: Ben Walker Reviewed-by: Changpeng Liu Reviewed-by: Tomasz Zawadzki Tested-by: SPDK CI Jenkins --- doc/jsonrpc.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/jsonrpc.md b/doc/jsonrpc.md index 4ad2dc108..690df0654 100644 --- a/doc/jsonrpc.md +++ b/doc/jsonrpc.md @@ -5316,7 +5316,7 @@ Create a logical volume on a logical volume store. Name | Optional | Type | Description ----------------------- | -------- | ----------- | ----------- lvol_name | Required | string | Name of logical volume to create -size | Required | number | Desired size of logical volume in megabytes +size | Required | number | Desired size of logical volume in bytes thin_provision | Optional | boolean | True to enable thin provisioning uuid | Optional | string | UUID of logical volume store to create logical volume on lvs_name | Optional | string | Name of logical volume store to create logical volume on @@ -5486,7 +5486,7 @@ Resize a logical volume. Name | Optional | Type | Description ----------------------- | -------- | ----------- | ----------- name | Required | string | UUID or alias of the logical volume to resize -size | Required | number | Desired size of the logical volume in megabytes +size | Required | number | Desired size of the logical volume in bytes ### Example