]> git.proxmox.com Git - mirror_zfs.git/commit
Illumos 5959 - clean up per-dataset feature count code
authorMatthew Ahrens <mahrens@delphix.com>
Fri, 24 Jul 2015 16:53:55 +0000 (09:53 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 4 Dec 2015 22:20:20 +0000 (14:20 -0800)
commit241b5415748859a3c272fc8f570f2368e93adde9
tree6a30a5f475473533660c1680f1cc8cbb27e65056
parent072484504fa3c905f5d3712abff765cf33c1e72d
Illumos 5959 - clean up per-dataset feature count code

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>

References:
  https://www.illumos.org/issues/5959
  https://github.com/illumos/illumos-gate/commit/ca0cc39

Porting notes:

illumos code doesn't check for feature_get_refcount() returning
ENOTSUP (which means feature is disabled) in zdb. zfsonlinux added
a check in https://github.com/zfsonlinux/zfs/commit/784652c
due to #3468. The check was reintroduced here.

Ported-by: Witaut Bajaryn <vitaut.bayaryn@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3965
cmd/zdb/zdb.c
cmd/zhack/zhack.c
cmd/zpool/zpool_main.c
include/sys/dsl_dataset.h
include/zfeature_common.h
module/zfs/dbuf.c
module/zfs/dmu_send.c
module/zfs/dsl_dataset.c
module/zfs/dsl_destroy.c
module/zfs/zfeature.c
module/zfs/zfeature_common.c