mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
zfs and virtiofs do not eagerly account a mode-0 fallocate() in st_blocks, so detect those filesystems with fstatfs() and skip the physical-size assertions there. A skip now names a proven platform limitation instead of being inferred from the value under test, and every assertion still runs unconditionally on ext4/xfs. Fixes #8296 Signed-off-by: Adel-Ayoub <adelayoub.maaziz@gmail.com>