Crate scsi_buffers

Source
Expand description

Functionality for referencing locked memory buffers for the lifetime of an IO.

Structsยง

AtomicIoVec
A pointer/length pair that is ABI compatible with the iovec type on Linux.
BounceBuffer
A page-aligned buffer used to double-buffer IO data.
BounceBufferTracker
Tracks active bounce buffers against a set limit of pages. If no limit is specified a default of 8Mb will be applied. This limit is tracked per thread specified by the backing AffinitizedThreadpool.
IoBuffer
Wrapper around an &AtomicU8 guaranteed to be ABI compatible with the iovec type on Linux.
LockedIoBuffers
A set of locked memory ranges, represented by IoBuffers.
OwnedRequestBuffers
A memory range.
RequestBuffers
An accessor for the memory associated with an IO request.
TrackedBounceBuffer
Tracks an active bounce buffer, signaling to the bounce buffer tracker upon drop that pages can be reclaimed.