mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
c5656a3023
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>
10 lines
242 B
Bash
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
|