Skip to main content

Module capabilities

Module capabilities 

Source
Expand description

Filesystem capability probing and copy tier selection. probe_capabilities(), copy tier selection, CopyCapabilities.

Structs§

Capabilities
Filesystem and hardware capabilities detected by probe_capabilities

Functions§

probe_cachestat
Probe whether cachestat(2) is available on this kernel. Result is cached via OnceLock – probes once per process.
probe_capabilities
Detect filesystem and hardware capabilities for a path (cached per mount point)
query_cache_residency
Query page cache residency for an open file via cachestat(2). Returns fraction of pages in cache (0.0-1.0), or None if unavailable.