mirror_zfs/module/zcommon
Matt Ahrens f5fc4acaa7 Illumos #1092: zfs refratio property
Add a "REFRATIO" property, which is the compression ratio based on
data referenced. For snapshots, this is the same as COMPRESSRATIO,
but for filesystems/volumes, the COMPRESSRATIO is based on the
data "USED" (ie, includes blocks in children, but not blocks
shared with the origin).

This is needed to figure out how much space a filesystem would
use if it were not compressed (ignoring snapshots).

Reviewed by: George Wilson <George.Wilson@delphix.com>
Reviewed by: Adam Leventhal <Adam.Leventhal@delphix.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Reviewed by: Richard Elling <richard.elling@richardelling.com>
Reviewed by: Mark Musante <Mark.Musante@oracle.com>
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Approved by: Garrett D'Amore <garrett@nexenta.com>

References to Illumos issue and patch:
- https://www.illumos.org/issues/1092
- https://github.com/illumos/illumos-gate/commit/187d6ac08a

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #340
2011-08-01 12:09:11 -07:00
..
Makefile.in Add basic uio support 2011-02-10 09:21:43 -08:00
zfs_comutil.c Add linux kernel module support 2010-08-31 13:41:58 -07:00
zfs_deleg.c Add linux kernel module support 2010-08-31 13:41:58 -07:00
zfs_fletcher.c Add linux kernel module support 2010-08-31 13:41:58 -07:00
zfs_namecheck.c Add linux kernel module support 2010-08-31 13:41:58 -07:00
zfs_prop.c Illumos #1092: zfs refratio property 2011-08-01 12:09:11 -07:00
zfs_uio.c Add basic uio support 2011-02-10 09:21:43 -08:00
zpool_prop.c Add "ashift" property to zpool create 2011-06-17 16:35:49 -07:00
zprop_common.c Add linux kernel module support 2010-08-31 13:41:58 -07:00