mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Provide a single home for O_DIRECT alignment and RMW behavior behind an std::os::unix::fs::FileExt implementation built on AlignedBuffer. Unaligned requests are bounced through an AlignedBuffer (applying RMW for writes) and aligned requests pass straight through to the inner File. Assisted-by: Claude:Opus-4.8 Signed-off-by: Rob Bradford <rbradford@meta.com>