arcbox-virtio-blk 0.4.9

VirtIO block device implementation for ArcBox
Documentation

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: AsyncBlockBackend trait
  • mmap: memory-mapped backend (zero-copy)
  • direct_io: O_DIRECT backend (Linux only)
  • request: wire types — config, header, status, request type
  • device: VirtioBlock device + VirtioDevice impl