zfsonlinux/zfs — pull request #826 by mmatuska (2012-07-12 21:31:02+00:00)
Title: 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
Reviewed by: Richard Lowe
Reviewed by: George Wilson
Reviewed by: Albert Lee
Approved by: Garrett D'Amore

Ported by: Martin Matuska

I have also fixed the 2 issues you reported.
What about moving reguid and the other IOCTL's to the end? This way you keep the backwards compatibility with old ioctls (but may still break with delsnaps, but there is no real choice).