mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Both engines ran the same copy on write loop for a partial cluster write. In the uring engine it was a separate helper, cow_write_sync. In the sync engine the same loop sat directly in the write path. Move cow_write_sync into common.rs and call it from both. The uring write already runs synchronously, so its behavior does not change. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>