Skip to content

Commit 4e13844

Browse files
author
Ryan Moeller
committed
zcommon: Fix description of vdev capacity format
Capacity is reported as a percentage not a size. Sponsored-by: Klara, Inc. Signed-off-by: Ryan Moeller <ryan.moeller@klarasystems.com>
1 parent 502b09d commit 4e13844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/zcommon/zpool_prop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ vdev_prop_init(void)
364364
PROP_READONLY, ZFS_TYPE_VDEV, "<percent>", "FRAG", B_FALSE,
365365
sfeatures);
366366
zprop_register_number(VDEV_PROP_CAPACITY, "capacity", 0, PROP_READONLY,
367-
ZFS_TYPE_VDEV, "<size>", "CAP", B_FALSE, sfeatures);
367+
ZFS_TYPE_VDEV, "<percent>", "CAP", B_FALSE, sfeatures);
368368
zprop_register_number(VDEV_PROP_GUID, "guid", 0, PROP_READONLY,
369369
ZFS_TYPE_VDEV, "<guid>", "GUID", B_TRUE, sfeatures);
370370
zprop_register_number(VDEV_PROP_STATE, "state", 0, PROP_READONLY,

0 commit comments

Comments
 (0)