Reviewed by: George Wilson <george.wil...@delphix.com> @grwilson 
Reviewed by: Serapheim Dimitropoulos <seraph...@delphix.com> @sdimitro 

We're leaking the dd_clones objects in dsl_dir_destroy_sync.  This bug
appears to have been around forever.  Thankfully the amount of space
typically involved is tiny.

In addition this adds a mechanism in ZDB to find objects in the MOS
which are leaked (not referenced anywhere).

External-issue: DLPX-52783 DLPX-58298

External test: 
http://platform.jenkins.delphix.com/job/devops-gate/job/master/job/zfs-precommit/3734/flowGraphTable/
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/696

-- Commit Summary --

  * 9847 leaking dd_clones (DMU_OT_DSL_CLONES) objects

-- File Changes --

    M usr/src/cmd/zdb/zdb.c (238)
    M usr/src/uts/common/fs/zfs/dsl_destroy.c (2)
    M usr/src/uts/common/fs/zfs/vdev_indirect_mapping.c (1)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/696.patch
https://github.com/openzfs/openzfs/pull/696.diff

-- 
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

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/Te6b30b1c1b31d15c-M7740d2fd1058da4e348421e0
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to