behlendorf approved this pull request. The improved leak detection is nice!
> @@ -4430,6 +4499,161 @@ verify_checkpoint(spa_t *spa) return (error); } +/* ARGSUSED */ +static void +mos_leaks_cb(void *arg, uint64_t start, uint64_t size) +{ + for (uint64_t i = start; i < size; i++) { + (void) printf("MOS object %llu referenced but not allocated\n", + (long long)i); nit: `u_longlong_t` is used for this throughout `zdb` to match the format specifier. -- 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/696#pullrequestreview-163507349 ------------------------------------------ openzfs: openzfs-developer Permalink: https://openzfs.topicbox.com/groups/developer/Te6b30b1c1b31d15c-M35b069d24ef78abc7120b319 Delivery options: https://openzfs.topicbox.com/groups/developer/subscription