mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Add micro_bench_qcow_fsync which writes num_ops clusters into an empty qcow2 image to dirty L2 and refcount metadata then times a single fsync call that flushes all dirty tables to disk. This isolates the metadata flush cost which scales with the number of dirty L2 table entries and refcount blocks. Two TEST_LIST entries: micro_block_qcow_fsync_64_us and micro_block_qcow_fsync_256_us with 64 and 256 cluster workloads. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>