arcbox-fs
High-performance filesystem service for ArcBox.
This crate implements VirtioFS-based file sharing between host and guest, providing near-native file I/O performance.
Key Features
- Zero-copy: Direct memory mapping when possible
- Parallel I/O: Concurrent request handling
- Intelligent caching: Host-side metadata and data caching
- FUSE protocol: Compatible with standard virtiofs drivers
Architecture
Guest: mount -t virtiofs arcbox /mnt/arcbox
│
▼
┌─────────────────────────────────────────┐
│ arcbox-fs │
│ ┌─────────────────────────────────┐ │
│ │ FuseServer │ │
│ │ - Request dispatch │ │
│ │ - Reply handling │ │
│ └─────────────────────────────────┘ │
│ ┌─────────────────────────────────┐ │
│ │ PassthroughFs │ │
│ │ - Direct host filesystem access │ │
│ │ - File handle management │ │
│ └─────────────────────────────────┘ │
└─────────────────────────────────────────┘