summaryrefslogtreecommitdiffstats
path: root/module/zfs/bptree.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/bptree.c')
-rw-r--r--module/zfs/bptree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/zfs/bptree.c b/module/zfs/bptree.c
index db0a2d3c6..1a009cfe5 100644
--- a/module/zfs/bptree.c
+++ b/module/zfs/bptree.c
@@ -189,7 +189,8 @@ bptree_iterate(objset_t *os, uint64_t obj, boolean_t free, bptree_itor_t func,
break;
err = traverse_dataset_destroyed(os->os_spa, &bte.be_bp,
- bte.be_birth_txg, &bte.be_zb, TRAVERSE_POST,
+ bte.be_birth_txg, &bte.be_zb,
+ TRAVERSE_PREFETCH_METADATA | TRAVERSE_POST,
bptree_visit_cb, &ba);
if (free) {
ASSERT(err == 0 || err == ERESTART);