Skip to main content

Crate storage_profile

Crate storage_profile 

Source
Expand description

Shared profile message types and block-aligned VMO encoding/decoding used across Fxfs, blob_pager_and_verifier, and mapping / block_server.

Structs§

BlobMessage
A 40-byte profile entry identifying a blob by its 32-byte Merkle root [Hash] and a logical byte offset.
DecodedMessageIter
Reads and decodes Message entries from a zx::Vmo one block at a time.
FileMessage
A 16-byte profile entry identifying a file by a numeric id (Fxfs object ID or mapper session key) and a logical byte offset.

Constants§

FILE_OPEN_MARKER
Sentinel offset used by Fxfs to record that a file or blob was opened during a recording window.
MAX_PROFILE_VMO_SIZE
Upper bound on profile VMO size to prevent unbounded memory growth.

Traits§

Message
A fixed-size profile entry recording an access to (id, offset).