Lines Matching full:obsolete
64 * "Big theory statement" for how we mark blocks obsolete.
67 * that vdev's mapping may no longer be referenced (aka "obsolete"). We
68 * keep track of how much of each mapping entry is obsolete. When
69 * an entry becomes completely obsolete, we can remove it, thus reducing
72 * - the entry-specific obsolete count
73 * - the vdev-specific obsolete spacemap
74 * - the pool-specific obsolete bpobj
78 * We track the obsolete space for the pool using several objects. Each
96 * when marking a DVA as obsolete. Instead of modifying an arbitrary
98 * to the end of this object. When a DVA becomes obsolete, it is
99 * added to the obsolete space map. This happens when the DVA is
108 * ds_deadlist and marked obsolete when they are freed.
111 * in the pool that need to be marked obsolete. When a snapshot is
112 * destroyed, we move some of the ds_remap_deadlist to the obsolete
114 * asynchronously process the obsolete bpobj, moving its entries to
115 * the specific vdevs' obsolete space maps.
117 * == Summary of how we mark blocks as obsolete ==
133 * the precise counts of obsolete space for each mapping entry (by
134 * integrating the obsolete spacemap into the obsolete counts) and
148 * 1. Save the old obsolete space map and create a new mapping object
150 * spa_condensing_indirect_phys with the "previous obsolete space map",
151 * which is now read only. Newly obsolete DVAs will be added to a
152 * new (initially empty) obsolete space map, and will not be
155 * 2. Construct in memory the precise counts of obsolete space for each
156 * mapping entry, by incorporating the obsolete space map into the
160 * entries that are not completely obsolete (i.e. which don't have
161 * obsolete count == mapping length). (See
180 * obsolete. With the default of 25%, the amount of space mapped
188 * Condense if the obsolete space map takes up more than this amount of
190 * consumed by the obsolete space map; the default of 1GB is small enough
321 * Mark the given offset and size as being obsolete.
343 * Mark the DVA vdev_id:offset:size as being obsolete in the given tx. This
420 * If nothing new has been marked obsolete, there is no
443 * obsolete, condense (unless the mapping is already small enough).
450 zfs_dbgmsg("should condense vdev %llu because obsolete "
459 * If the obsolete space map takes up too much space on disk,
463 zfs_dbgmsg("should condense vdev %llu because obsolete sm "
807 * Sync to the given vdev's obsolete space map any segments that are no longer
810 * If the obsolete space map doesn't exist yet, create and open it.
891 * Gets the obsolete spacemap object from the vdev's ZAP. On success sm_obj
892 * will contain either the obsolete spacemap object or zero if none exists.
916 * Gets the obsolete count are precise spacemap object from the vdev's ZAP.
1905 "Minimum obsolete percent of bytes in the mapping "
1914 "Minimum size obsolete spacemap to attempt condensing");