Expand description
§Physical extent layout of files via FS_IOC_FIEMAP
FS_IOC_FIEMAP is a standard VFS ioctl (not btrfs-specific) that reports
the physical extents backing a file. It is the mechanism btrfs filesystem du uses to determine how much disk space each file occupies and which
extents are shared with other files.
Structs§
- File
Extent Info - Summary of the physical extent usage of a single file.
Functions§
- file_
extents - Query
FS_IOC_FIEMAPfor every extent of the file referred to byfd.