Ben McClelland 0ec206ad67 add PunchHole() to convert offline range to sparse
PunchHole is a limited and specific version of hole punching.  It's an
archive layer operation that only converts unmapped offline extents
into sparse extents.  It is intended to be used when restoring sparse
files after the initial creation set the entire file size offline.

The offset and len fields are in units of bytes and must be aligned
to the small (4KiB) block size.  All regions of offline extents
covered by the region will be converted into sparse online extents,
including regions that straddle the boundaries of the region.  Any
existing sparse extents in the region are ignored.

The data_version must match the inode or EINVAL is returned.  The
data_version is not modified by this operation.
2026-04-13 17:07:31 -07:00
2024-06-25 15:13:45 -07:00
2021-03-02 16:48:32 -07:00
2021-03-02 16:48:32 -07:00
2018-10-03 11:11:27 -07:00
2018-10-03 11:22:02 -07:00

scoutfs-go

This library provides interfaces for scoutfs See godoc for more details.

GoDoc

ScoutFS Webpage

The ScoutFS repo has ScoutFS introduction and quickstart in README.md.

Visit Versity Blog Post describing example use of this interface.

S
Description
No description provided
Readme BSD-3-Clause
306 KiB
Languages
Go 100%