]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - contrib/ntp/sntp/libevent/sample/dns-example.c
MFV 286707: 5959 clean up per-dataset feature count code
authorAlexander Motin <mav@FreeBSD.org>
Wed, 12 Aug 2015 23:59:17 +0000 (23:59 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Wed, 12 Aug 2015 23:59:17 +0000 (23:59 +0000)
commit0d0def87fe0cfb97ed1732492cc49538c5e69880
treefde4c6e72afe9d2b5eb0a48efeff4e899efcd81a
parentb696497df0197b0dc72d87fd0fedac61a504d0b7
parentad688e7c0e0cf668429742217ac2b0fdfde65f35
MFV 286707: 5959 clean up per-dataset feature count code

Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Alex Reece <alex@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Matthew Ahrens <mahrens@delphix.com>

illumos/illumos-gate@ca0cc3918a1789fa839194af2a9245f801a06b1a

A ZFS feature flags (large blocks) tracks its refcounts as the number of
datasets that have ever used the feature. Several features of this type
are planned to be added (new checksum functions). This code should be made
common infrastructure rather than duplicating the code for each feature.
cddl/contrib/opensolaris/cmd/zdb/zdb.c
cddl/contrib/opensolaris/cmd/zhack/zhack.c
cddl/contrib/opensolaris/cmd/zpool/zpool_main.c
sys/cddl/contrib/opensolaris/common/zfs/zfeature_common.c
sys/cddl/contrib/opensolaris/common/zfs/zfeature_common.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_destroy.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dsl_dataset.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfeature.c