HomeFreeBSD

Add *_by-dnode routines

Description

Add *_by-dnode routines

Add *_by_dnode() routines for accessing objects given their
dnode_t *, this is more efficient than accessing the object by
(objset_t *, uint64_t object). This change converts some but
not all of the existing consumers. As performance-sensitive
code paths are discovered they should be converted to use
these routines.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Closes #5534
Issue #4802

Details

Provenance
bzzz77 <bzzz.tomas@gmail.com>Authored on Jan 13 2017, 10:58 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 13 2017, 10:58 PM
Parents
rG38640550f28c: OpenZFS 7743 - per-vdev-zaps init path for upgrade
Branches
Unknown
Tags
Unknown