Expand description
§File defragmentation: rewriting fragmented extents into contiguous runs
Defragmenting a file rewrites its extents contiguously on disk, which can improve sequential read performance. Optionally applies or removes transparent compression at the same time.
Structs§
- Compress
Spec - Compression specification for
DefragRangeArgs. - Defrag
Range Args - Arguments for a defragmentation operation.
Enums§
- Compress
Type - Compression algorithm to use when defragmenting.
Functions§
- defrag_
range - Defragment a byte range of the file referred to by
fd.