summaryrefslogtreecommitdiffstats
path: root/include/sys/space_map.h
diff options
context:
space:
mode:
authorChrister Ekholm <[email protected]>2016-05-16 21:29:54 +0200
committerBrian Behlendorf <[email protected]>2016-05-18 10:15:32 -0700
commitbc2d809387debb95d82f47185d446f328da4d147 (patch)
treebe6f6191a86a569e2044c1cf40cef7732324b3e7 /include/sys/space_map.h
parent81b4c075eca2c4c4129933a012cd354f75201f69 (diff)
Make zpool list -vp print individual vdev sizes parsable.
Add argument format to print_one_column(), and use it to call zfs_nicenum_format with, instead of just zfs_nicenum. Don't print "%" for fragmentation or capacity percent values. The calls to print_one_colum is made with ZFS_NICENUM_RAW if cb->cb_literal (zpool list called with -p), and ZFS_NICENUM_1024 if not. Also zpool_get_prop is modified to don't add "%" or "x" if literal. Signed-off-by: Christer Ekholm <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Tony Hutter <[email protected] Closes #4657
Diffstat (limited to 'include/sys/space_map.h')
0 files changed, 0 insertions, 0 deletions