HomeFreeBSD

Illumos 5959 - clean up per-dataset feature count code

Description

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

Details

Provenance
mahrensAuthored on Jul 24 2015, 4:53 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 4 2015, 10:20 PM
Parents
rG072484504fa3: Add zap_prefetch() interface
Branches
Unknown
Tags
Unknown