block: qcow: Remove old wrapper structs, restrict visibility

Delete QcowDiskSync and QcowDiskAsync wrapper structs along with
their DiskFile trait impls. Only the AsyncIo worker structs
QcowSync and QcowAsync remain. Reduce module visibility of
qcow_sync and qcow_async to pub(crate).

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
Anatol Belski
2026-04-24 10:32:05 +02:00
committed by Rob Bradford
parent 8a77feb813
commit 587093ddfd
4 changed files with 14 additions and 273 deletions
+1 -2
View File
@@ -372,8 +372,7 @@ impl Debug for BackingFile {
/// Parses and validates a QCOW2 image file, returning the metadata, backing
/// file and sparse flag.
///
/// This shared constructor is used by both QcowFile for sequential I/O
/// and QcowDiskSync for lock based parallel I/O.
/// Used by [`QcowFile`] and [`QcowDisk`] constructors.
pub(crate) fn parse_qcow(
mut file: RawFile,
max_nesting_depth: u32,