mirror_zfs/man/man7
Allan Jude c7ada64bb6
ddt: dedup table quota enforcement
This adds two new pool properties:
- dedup_table_size, the total size of all DDTs on the pool; and
- dedup_table_quota, the maximum possible size of all DDTs in the pool

When set, quota will be enforced by checking when a new entry is about
to be created. If the pool is over its dedup quota, the entry won't be
created, and the corresponding write will be converted to a regular
non-dedup write. Note that existing entries can be updated (ie their
refcounts changed), as that reuses the space rather than requiring more.

dedup_table_quota can be set to 'auto', which will set it based on the
size of the devices backing the "dedup" allocation device. This makes it
possible to limit the DDTs to the size of a dedup vdev only, such that
when the device fills, no new blocks are deduplicated.

Sponsored-by: iXsystems, Inc.
Sponsored-By: Klara Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Signed-off-by: Don Brady <don.brady@klarasystems.com>
Co-authored-by: Don Brady <don.brady@klarasystems.com>
Co-authored-by: Rob Wing <rob.wing@klarasystems.com>
Co-authored-by: Sean Eric Fagan <sean.fagan@klarasystems.com>
Closes #15889
2024-07-25 09:47:36 -07:00
..
dracut.zfs.7 one-word manpage correction: snapshot->rollback (#16294) 2024-07-12 16:27:12 -07:00
vdevprops.7 Add some missing vdev properties (#16346) 2024-07-23 16:34:09 -07:00
zfsconcepts.7 zfsconcepts: add description of block cloning 2023-10-06 09:06:29 -07:00
zfsprops.7 Add support for multiple lines to the sharenfs property for FreeBSD (#16338) 2024-07-23 16:38:19 -07:00
zpool-features.7 Allow block cloning across encrypted datasets 2023-12-05 11:03:48 -08:00
zpoolconcepts.7 Add slow disk diagnosis to ZED 2024-02-08 09:19:52 -08:00
zpoolprops.7 ddt: dedup table quota enforcement 2024-07-25 09:47:36 -07:00