Module data_object_handle

Module data_object_handle 

Source

Structs§

AllocatedRanges
AllocatedRanges tracks the logical ranges of a file which are pre-allocated using allocate, in other words, the ranges of the file with overwrite extents. It’s used by PagedObjectHandle to split writes to CoW ranges and writes to overwrite ranges into separate batches so they can have different transaction options.
DataObjectHandle
DataObjectHandle is a typed handle for file-like objects that store data in the default data attribute. In addition to traditional files, this means things like the journal, superblocks, and layer files.
DirectWriter
Like object_handle::Writer, but allows custom transaction options to be set, and makes every write go directly to the handle in a transaction.
FileExtent
Represents the mapping of a file’s contents to the physical storage backing it.
FsverityStateInner
OverwriteOptions

Enums§

FsverityState
RangeType
Whether this particular logical file range is in overwrite or CoW mode. Overwrite mode ranges have overwrite extents already allocated, and should use multi_overwrite. CoW mode ranges should use multi_write, and might or might not have extents in the region already.

Constants§

WRITE_ATTR_BATCH_SIZE
How much data each transaction will cover when writing an attribute across batches. Pulled from FLUSH_BATCH_SIZE in paged_object_handle.rs.