Skip to main content

Module disk_backend

Module disk_backend 

Source
Expand description

Pluggable disk I/O backend trait and implementations. Pluggable disk I/O backend abstraction.

The DiskIoBackend trait defines the interface for session-level disk I/O, allowing custom storage backends (POSIX, mmap, disabled/null, etc.). DisabledDiskIo is a no-op backend useful for network throughput benchmarking.

Structs§

DisabledDiskIo
No-op disk I/O backend for network throughput benchmarking.
DiskIoStats
Aggregate I/O statistics for a disk backend.
MmapDiskIo
Memory-mapped disk I/O backend with no user-space cache.
PosixDiskIo
POSIX disk I/O backend with unified buffer pool (combined read cache + write buffer under a single byte budget).

Traits§

DiskIoBackend
Trait for pluggable disk I/O backends.

Functions§

create_backend_from_config
Create a disk I/O backend based on the storage mode in the configuration.