mirror_zfs/lib
Ralf Ertzinger 8b921f667a Introduce zpool_get_prop_literal interface
This change introduces zpool_get_prop_literal. It's an expanded version
of zpool_get_prop taking one additional boolean parameter. With this
parameter set to B_FALSE it will behave identically to zpool_get_prop.
Setting it to B_TRUE will return full precision numbers for the
following properties:

ZPOOL_PROP_SIZE
ZPOOL_PROP_ALLOCATED
ZPOOL_PROP_FREE
ZPOOL_PROP_FREEING
ZPOOL_PROP_EXPANDSZ
ZPOOL_PROP_ASHIFT

Also introduced is a wrapper function for zpool_get_prop making it
use zpool_get_prop_literal in the background.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #1813
2013-10-28 14:27:53 -07:00
..
libavl Remove autotools products 2012-08-27 11:47:44 -07:00
libefi Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
libnvpair Illumos #2619 and #2747 2013-01-08 10:35:35 -08:00
libshare Add smb_available() sanity checks 2013-04-02 09:27:52 -07:00
libspl Revert "Add txgs-<pool> kstat file" 2013-10-25 13:57:25 -07:00
libunicode Remove autotools products 2012-08-27 11:47:44 -07:00
libuutil Remove autotools products 2012-08-27 11:47:44 -07:00
libzfs Introduce zpool_get_prop_literal interface 2013-10-28 14:27:53 -07:00
libzfs_core Fix libzfs_core changes to follow GNU libtool guidelines 2013-10-10 16:56:51 -07:00
libzpool Add visibility in to cached dbufs 2013-10-25 13:59:40 -07:00
Makefile.am Illumos #2882, #2883, #2900 2013-09-04 15:49:00 -07:00