mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The compressed cluster write and read and the L1 resize size query went through a seek on the AlignedFile cursor before the access. Pass the target offset to write_at and read_exact_at, and read the file length from physical_size. The result is unchanged. The compressed paths keep routing through the AlignedFile O_DIRECT bounce. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>