mirror_zfs/lib/libzfs
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
..
os libshare: fold into libzfs and reorg headers a little 2025-12-19 19:52:33 -08:00
.gitignore Clean up lib dependencies 2020-07-10 14:26:00 -07:00
libzfs_changelist.c zfs: replace uu_avl with sys/avl 2025-11-17 06:21:26 -08:00
libzfs_config.c zfs: replace uu_avl with sys/avl 2025-11-17 06:21:26 -08:00
libzfs_crypto.c libzpool: remove global libzpool includes 2025-11-12 10:03:15 -08:00
libzfs_dataset.c Add snapshots_changed_nsecs dataset property 2026-01-06 09:36:20 -08:00
libzfs_diff.c Prefer VERIFY0(n) over VERIFY(n == 0) 2025-08-07 11:40:59 -07:00
libzfs_impl.h libshare: fold into libzfs and reorg headers a little 2025-12-19 19:52:33 -08:00
libzfs_import.c Prefer VERIFY0(n) over VERIFY(n == 0) 2025-08-07 11:40:59 -07:00
libzfs_iter.c Sort the blocking snapshots list #12751 (#17264) 2025-05-01 17:40:23 -07:00
libzfs_mount.c libshare: fold into libzfs and reorg headers a little 2025-12-19 19:52:33 -08:00
libzfs_pool.c Introduce dedupused/dedupsaved pool properties 2026-02-25 09:41:38 -05:00
libzfs_sendrecv.c libzfs: ignoring unreachable code 2025-11-07 09:27:18 -05:00
libzfs_share_nfs.c libshare: fold into libzfs and reorg headers a little 2025-12-19 19:52:33 -08:00
libzfs_share.c libshare: fold into libzfs and reorg headers a little 2025-12-19 19:52:33 -08:00
libzfs_share.h libshare: fold into libzfs and reorg headers a little 2025-12-19 19:52:33 -08:00
libzfs_status.c Suppress some ashift warnings 2025-10-13 10:41:42 -07:00
libzfs_util.c Detect a slow raidz child during reads 2025-09-10 15:25:03 -07:00
libzfs.abi Introduce dedupused/dedupsaved pool properties 2026-02-25 09:41:38 -05:00
libzfs.pc.in Spruce up pkg-config files for libzfs/libzfs_core 2020-09-04 11:11:18 -07:00
libzfs.suppr Library ABI tracking with abigail 2020-11-17 09:18:52 -08:00
Makefile.am Move range_tree, btree, highbit64 to common code 2026-02-22 11:43:51 -08:00
THIRDPARTYLICENSE.openssl Fix typos in lib/ 2019-09-02 17:53:27 -07:00
THIRDPARTYLICENSE.openssl.descrip Encryption patch follow-up 2017-10-11 16:54:48 -04:00