Skip to main content

Module dedupe

Module dedupe 

Source
Expand description

§Extent deduplication: comparing and deduplicating file extents

Wraps BTRFS_IOC_FILE_EXTENT_SAME to request that the kernel compare a byte range in a source file against ranges in one or more destination files. Where the data is identical, the destination extents are replaced with references to the source extent, saving space.

Structs§

DedupeTarget
A destination file and offset to deduplicate against the source range.

Enums§

DedupeResult
Result of a single dedupe comparison against one destination.

Functions§

file_extent_same
Deduplicate a source range against one or more destination ranges.