OpenBSD doesn't have fallocate or posix_fallocate, which means it's hitting our fallback. We should instead have it use ftruncate. See related discussion in #32460.
cc @theStack.
Opened #36189 to address this.
OpenBSD doesn't have
fallocateorposix_fallocate, which means it's hitting our fallback. We should instead have it useftruncate.
I don't think ftruncate() is suitable here, as it does not guarantee that blocks are actually allocated on disk, and a subsequent write to the file may fail.
See also @winterrdog's comment.
I'd suggest closing this issue.