block: raw: Add RawDisk struct with RawBackend enum

Introduce the unified DiskFile wrapper for raw disk images. The
RawBackend enum selects between sync, io_uring, and AIO backends
at construction time.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
Anatol Belski
2026-04-23 00:47:44 +02:00
committed by Bo Chen
parent 0a7c613da0
commit f84a940c43
2 changed files with 80 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ pub mod raw_async;
pub mod raw_async_aio;
#[cfg(test)]
mod raw_async_io_tests;
pub mod raw_disk;
pub mod raw_sync;
mod request;
pub mod vhd;