package
1.1.0
Repository: https://github.com/openebs/sparse-tools.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AllocateAligned returns []byte of size aligned to alignment.
FailPointFileHashMatch returns true if this failpoint is set, clears the failpoint.
FoldFile folds child snapshot data into its parent.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewFiemapFile : return a new FibmapFile.
No description provided by the author
SetFailPointFileHashMatch simulates file hash match failure.
SyncFile synchronizes local file to remote host.
No description provided by the author

# Constants

4k.
BlockSize sic.
sizeof(struct Extent).
default is extend size.
reserved codepoint.
de-allocates range.
Data is encrypted by fs.
Data mixed with metadata.
Multiple files in block.
Location still pending.
Data can not be read while fs is unmounted.
Last extent in file.
File does not natively support extents.
Extent offsets may not be block aligned.
Space shared with other files.
Data location unknown.
Space allocated, but no data (i.e.
request caching of the extents.
sync file data before map.
map extended attribute tree.
No description provided by the author
FIEMAP_MAX_OFFSET Defined in <linux/fiemap.h>:.
sizeof(struct fiemap).
FS_IOC_FIEMAP is defined in <linux/fs.h>:.
Sparse file Interval types.
Sparse file Interval types.
ignore file interval (equal src vs dst part).

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Extent : based on struct fiemap_extent from <linux/fiemap.h>.
FiemapFile creates a new type by wrapping up os.File.
FileInterval describes either sparse data Interval or a hole.
Interval [Begin, End) is non-inclusive at the End.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

FileIntervalKind distinguishes between data and hole.