Crate foyer_storage
source ·Expand description
A disk cache engine that serves as the disk cache backend of foyer
.
Modules§
- Test utils for the
foyer-storage
crate.
Structs§
- A picker that always returns
true
. - The statistics information of the device.
- A device that uses a single direct i/o file.
- Options for the direct file device.
- [
DirectFiDeviceOptionsBuilder
] is used to build the options for the direct fs device. - A device that uses direct i/o files in a directory of a file system.
- Options for the direct fs device.
DirectFsDeviceOptionsBuilder
is used to build the options for the direct fs device.- The handle created by
Storage::enqueue
. - A picker that pick region to eviciton with a FIFO behaviour.
- Evict the region with the largest invalid data ratio.
- A picker that picks based on the disk statistics and the given rate limit.
- A picker that always returns
false
. - The dedicated runtime config.
- The builder of the disk cache with a dedicated runtime.
- The statistics of the disk cache, which is used by the pickers.
- The builder of the disk cache.
- The configurations for the tombstone log.
- The builder for the tombstone log config.
Enums§
- The compression algorithm of the disk cache.
- The configurations for the device.
- Disk cache error type.
- The recover mode of the disk cache.
- The disk cache engine that serves as the storage backend of
foyer
. - The configurations for the disk cache.
Traits§
- The admission picker for the disk cache.
Device
represents 4K aligned block device.- Device extend interfaces.
- Options for the device.
- The eviction picker for the disk cache.
- The reinsertion picker for the disk cache.
- The storage trait for the disk cache storage engine.
Type Aliases§
- Disk cache result type.