fio: fix build on musl.

This commit is contained in:
Leah Neukirchen 2025-05-23 15:02:59 +02:00
parent 02d7571b47
commit 158aef904d

View file

@ -0,0 +1,12 @@
--- a/oslib/linux-blkzoned.c
+++ b/oslib/linux-blkzoned.c
@@ -25,6 +25,9 @@
#ifndef BLKFINISHZONE
#define BLKFINISHZONE _IOW(0x12, 136, struct blk_zone_range)
#endif
+#ifndef FALLOC_FL_ZERO_RANGE
+#define FALLOC_FL_ZERO_RANGE 0x10
+#endif
/*
* If the uapi headers installed on the system lacks zone capacity support,