HomeFreeBSD

OpenZFS 7613 - ms_freetree[4] is only used in syncing context

Description

OpenZFS 7613 - ms_freetree[4] is only used in syncing context

metaslab_t:ms_freetree[TXG_SIZE] is only used in syncing context. We
should replace it with two trees: the freeing tree (ranges that we are
freeing this syncing txg) and the freed tree (ranges which have been
freed this txg).

Authored by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Alex Reece <alex@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported-by: Tim Chase <tim@chase2k.com>

OpenZFS-issue: https://www.illumos.org/issues/7613
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/a8698da2
Closes #5598

Details

Provenance
Tim Chase <tim@chase2k.com>Authored on Jan 26 2017, 11:27 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 26 2017, 11:27 PM
Parents
rG9c9531cb6f08: OpenZFS 7500 - Simplify dbuf_free_range by removing dn_unlisted_l0_blkid
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG258553d3d792: OpenZFS 7613 - ms_freetree[4] is only used in syncing context (authored by Tim Chase <tim@chase2k.com>).Jan 26 2017, 11:27 PM