Illumos #1644, #1645, #1646, #1647, #1708
authorMatthew Ahrens <matt@delphix.com>
Thu, 17 Nov 2011 18:14:36 +0000 (10:14 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Jul 2012 16:25:30 +0000 (09:25 -0700)
commit330d06f90d143b41b276796526a66a1c1fff046d
treee263b2fb2b9846fba94bb1a17ba0b03fc6ebf18b
parent7eebaff409d969394dccb9b12e30aef466cc04b2
Illumos #1644, #1645, #1646, #1647, #1708

1644 add ZFS "clones" property
1645 add ZFS "written" and "written@..." properties
1646 "zfs send" should estimate size of stream
1647 "zfs destroy" should determine space reclaimed by
     destroying multiple snapshots
1708 adjust size of zpool history data

References:
  https://www.illumos.org/issues/1644
  https://www.illumos.org/issues/1645
  https://www.illumos.org/issues/1646
  https://www.illumos.org/issues/1647
  https://www.illumos.org/issues/1708

This commit modifies the user to kernel space ioctl ABI.  Extra
care should be taken when updating to ensure both the kernel
modules and utilities are updated.  This change has reordered
all of the new ioctl()s to the end of the list.  This should
help minimize this issue in the future.

Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: George Wilson <gwilson@zfsmail.com>
Reviewed by: Albert Lee <trisk@opensolaris.org>
Approved by: Garrett D'Amore <garret@nexenta.com>

Ported by: Martin Matuska <martin@matuska.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #826
Closes #664
24 files changed:
cmd/zfs/zfs_main.c
include/libzfs.h
include/libzfs_impl.h
include/sys/dmu.h
include/sys/dsl_dataset.h
include/sys/dsl_deleg.h
include/sys/fs/zfs.h
lib/libzfs/Makefile.am
lib/libzfs/Makefile.in
lib/libzfs/libzfs_dataset.c
lib/libzfs/libzfs_iter.c [new file with mode: 0644]
lib/libzfs/libzfs_sendrecv.c
lib/libzfs/libzfs_util.c
man/man8/zfs.8
module/zcommon/zfs_prop.c
module/zfs/bpobj.c
module/zfs/dmu_send.c
module/zfs/dsl_dataset.c
module/zfs/dsl_deadlist.c
module/zfs/dsl_deleg.c
module/zfs/dsl_pool.c
module/zfs/spa_history.c
module/zfs/zap_micro.c
module/zfs/zfs_ioctl.c