mirror_zfs/module/zcommon
Alexander Motin 991fc56fae
Introduce dedupused/dedupsaved pool properties
Currently there is only a dedup ratio reported via pool properties.
If dedup is enabled only for some datasets, it is impossible to say
how much space the ratio actually covers.  Fix this by introducing
dedupused/dedupsaved pool properties, similar to earlier added
block cloning ones.  Combined with work to expose allocation classes
stats, it should give user-space enough visibility to correlate
`zpool list` and `zfs list` space numbers.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Ryan Moeller <ryan.moeller@klarasystems.com>
Signed-off-by: Alexander Motin <alexander.motin@TrueNAS.com>
Closes #18245
2026-02-25 09:41:38 -05:00
..
cityhash.c SPDX: license tags: MIT 2025-03-13 17:56:54 -07:00
simd_stat.c simd_stat: expose availability of VAES and VPCLMULQDQ 2025-08-13 14:53:24 -07:00
zfeature_common.c Implement physical rewrites 2025-08-06 10:36:56 -07:00
zfs_comutil.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_deleg.c ZFS allow send:encrypted 2025-09-12 09:53:31 -07:00
zfs_fletcher_aarch64_neon.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_avx512.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_fletcher_intel.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_sse.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_superscalar4.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_superscalar.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_namecheck.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_prop.c Add snapshots_changed_nsecs dataset property 2026-01-06 09:36:20 -08:00
zfs_valstr.c metaslab: don't pass whole zio to throttle reserve APIs 2025-07-04 23:22:22 -04:00
zpool_prop.c Introduce dedupused/dedupsaved pool properties 2026-02-25 09:41:38 -05:00
zprop_common.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00