Commit Graph
15 Commits
Author SHA1 Message Date
Chao Wang da9a13289b Fix inode path result pointers across stack relocation
The old request stored the result address as an integer, which Go could
not update when the stack moved. Use a typed pointer to prevent stale
addresses and empty lookup results. Keep Go 1.16 compatibility.
2026-09-02 12:00:22 -07:00
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
Ben McClelland c2e96b492d add inode_attr_x interface for retention and projectid 2024-06-23 09:35:09 -07:00
Ben McClelland 0fc6aac397 add xattr index query interfaces 2024-06-14 15:46:25 -07:00
Ben McClelland cbeff6d5f9 add new quota interface calls 2024-02-05 11:19:56 -08:00
Ben McClelland f019a234ab add support for get-referring-entries
scoutfs now adds a new ioctl to get the parent id and some extra
info given an inode within the filesystem. This is less expensive
than the full path resolution for an inode, so can speed up cases
when the parent is all thats needed.
2023-08-28 13:59:13 -07:00
Ben McClelland 98a3a2a304 add read xattr totals 2021-09-15 18:59:15 -07:00
Ben McClelland 3e6a5807e2 update moveblocks and add stagemove to allow staging from tmpfiles 2021-04-12 18:20:20 -07:00
Ben McClelland c19fddb618 add scoutfs move_blocks 2021-01-15 11:53:40 -07:00
Ben McClelland f1ca1aee0a add scoutfs df 2020-10-28 13:59:01 -07:00
Ben McClelland 9980caea5d update for changes in new scoutfs search xattrs 2020-08-25 14:40:15 -07:00
Ben McClelland 25da776633 SendDataWaitErr: send errors to task data waiters 2020-06-09 14:27:11 -07:00
Ben McClelland 117bf46b2e add reminder of scoutfs-devel package needed to generate cgo definitions 2019-09-30 13:38:34 -07:00
Ben McClelland 5128942779 add statfsmore call to get filesystem mount ids 2019-09-30 10:28:04 -07:00
Ben McClelland 92e719d578 auto generate ioctl structs and definitions from scoutfs headers 2019-06-28 12:17:29 -07:00