VirtIO block device (virtio-blk).
Implements the VirtIO block device specification for disk I/O.
Supports:
- Synchronous I/O with standard file operations
- Asynchronous I/O with tokio
- Direct I/O (
O_DIRECT) for bypassing OS cache - Memory-mapped I/O for zero-copy operations
Module layout
backend:AsyncBlockBackendtraitmmap: memory-mapped backend (zero-copy)direct_io:O_DIRECTbackend (Linux only)request: wire types — config, header, status, request typedevice:VirtioBlockdevice +VirtioDeviceimpl