HomeFreeBSD

Add DDT prune command

Description

Add DDT prune command

Requires the new 'flat' physical data which has the start
time for a class entry.

The amount to prune can be based on a target percentage of
the unique entries or based on the age (i.e., every entry
older than N days).

Sponsored-by: Klara, Inc.
Sponsored-by: iXsystems, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Don Brady <don.brady@klarasystems.com>
Closes #16277

Details

Provenance
Don Brady <don.brady@klarasystems.com>Authored on Jun 17 2024, 10:35 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Wed, Sep 4, 9:17 PM
Parents
rG4a4f7b019fa5: zdb: rework dedup accounting for log, quota and prune
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd4d79451cb87: Add DDT prune command (authored by Don Brady <don.brady@klarasystems.com>).Wed, Sep 4, 9:17 PM