I think you missed this from ZOL in the latest update:

```diff
diff --git a/usr/src/uts/common/fs/zfs/bptree.c 
b/usr/src/uts/common/fs/zfs/bptree.c
index c74d072..25c08f6 100644
--- a/usr/src/uts/common/fs/zfs/bptree.c
+++ b/usr/src/uts/common/fs/zfs/bptree.c
@@ -211,7 +211,8 @@ bptree_iterate(objset_t *os, uint64_t obj, boolean_t free, 
bptree_itor_t func,
        err = 0;
        for (i = ba.ba_phys->bt_begin; i < ba.ba_phys->bt_end; i++) {
                bptree_entry_phys_t bte;
-               int flags = TRAVERSE_PREFETCH_METADATA | TRAVERSE_POST;
+               int flags = TRAVERSE_PREFETCH_METADATA | TRAVERSE_POST |
+                   TRAVERSE_NO_DECRYPT;
 
                err = dmu_read(os, obj, i * sizeof (bte), sizeof (bte),
                    &bte, DMU_READ_NO_PREFETCH);
```

(without it, after the recent change to turn async destroy back on for 
encrypted datasets, you get a panic)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/124#issuecomment-335667214
------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/Ta17fb0edb29e7895-Md040efcd6b0b2dadef41217b
Powered by Topicbox: https://topicbox.com

Reply via email to