Files
packages/utils/fio/test.sh
T
Alexandru Ardelean c5656a3023 fio: update to 3.42
Remove <linux/prctl.h> from backend.c via Build/Prepare sed: both
<linux/prctl.h> and <sys/prctl.h> define struct prctl_mm_map in newer
musl toolchains, causing a redefinition build error. sys/prctl.h alone
provides everything fio needs.

Changelog: https://github.com/axboe/fio/blob/fio-3.42/HOWTO.rst

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-10 11:32:19 +03:00

10 lines
242 B
Bash

#!/bin/sh
case "$1" in
fio)
# null ioengine discards all I/O — quick sanity check with no disk access
fio --name=sanity --ioengine=null --rw=randwrite --size=64k \
--bs=4k --iodepth=1 --numjobs=1 2>&1 | grep -qF "sanity"
;;
esac