HomeFreeBSD

Prefer embedded blocks to dedup

Description

Prefer embedded blocks to dedup

Since embedded blocks introduction 11 years ago, their writing was
blocked if dedup is enabled. After searching through the modern
code I see no reason for this restriction to exist. Same time
embedded blocks are dramatically cheaper. Even regular write of
so small blocks would likely be cheaper than deduplication, even
if the last is successful, not mentioning otherwise.

Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #17113

Details

Provenance
mavAuthored on Mar 13 2025, 5:27 PM
GitHub <noreply@github.com>Committed on Mar 13 2025, 5:27 PM
Parents
rG13ec35ce3b52: Linux/vnops: implement STATX_DIOALIGN
Branches
Unknown
Tags
Unknown