+**Bug:** The default `VZDiskImageCachingMode` for VirtIO block device attachments was `.automatic`. With sparse backing files and the Apple Virtualization Framework VirtIO block backend, `.automatic` can internally bypass the macOS page cache for reads while still buffering writes in it, creating a read-after-write hazard: a guest read of a just-written sparse block may return the old zeros from APFS storage instead of the newly written data. This corrupts ext4 directory blocks whose content has been written by the guest but whose backing storage is still a sparse hole:
0 commit comments