]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r223623:
authormm <mm@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 Jul 2011 13:16:46 +0000 (13:16 +0000)
committermm <mm@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 12 Jul 2011 13:16:46 +0000 (13:16 +0000)
commit99621d89dab10d852b8872af643f71aac6dc0b52
treeb268f82a6d8c51fb019368e071d4bd202e9dc400
parenta0cb32c45e886953101933d964eb7eaa336ef832
MFC r223623:
Add a new "REFCOMPRESSRATIO" property.

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).

Illumos-gate revision: 13387

Obtained from: Illumos (Feature #1092)

git-svn-id: svn://svn.freebsd.org/base/stable/8@223950 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/cmd/zfs/zfs.8
cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c
sys/cddl/contrib/opensolaris/common/zfs/zfs_prop.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c
sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h