Flexible I/O tester is a tool to simulate different kinds of storage I/O load. It is mostly useful to debug storage related issues.
Signed-off-by: Lucas Stach <[email protected]> --- rules/fio.in | 7 +++++ rules/fio.make | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 rules/fio.in create mode 100644 rules/fio.make diff --git a/rules/fio.in b/rules/fio.in new file mode 100644 index 000000000000..66d37d273ab9 --- /dev/null +++ b/rules/fio.in @@ -0,0 +1,7 @@ +## SECTION=test_suites + +config FIO + tristate + prompt "fio" + help + Flexible I/O tester diff --git a/rules/fio.make b/rules/fio.make new file mode 100644 index 000000000000..aebf89586aff --- /dev/null +++ b/rules/fio.make @@ -0,0 +1,70 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Lucas Stach <[email protected]> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_FIO) += fio + +# +# Paths and names +# +FIO_VERSION := 3.23 +FIO_MD5 := 497f8bad953723a8c4c46f2a58a13b24 +FIO := fio-$(FIO_VERSION) +FIO_SUFFIX := tar.gz +FIO_URL := https://brick.kernel.dk/snaps/$(FIO).$(FIO_SUFFIX) +FIO_SOURCE := $(SRCDIR)/$(FIO).$(FIO_SUFFIX) +FIO_DIR := $(BUILDDIR)/$(FIO) +FIO_LICENSE := GPL-2.0-only +FIO_LICENSE_FILES := file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# Not really autoconf, but a hand-written configure script. +# +FIO_CONF_TOOL := autoconf +FIO_CONF_OPT := \ + --prefix=/usr \ + --disable-numa \ + --disable-rdma \ + --disable-rados \ + --disable-rbd \ + --disable-http \ + --disable-gfapi \ + --disable-lex \ + --disable-pmem \ + --disable-native \ + --disable-libzbc \ + --disable-tcmalloc \ + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/fio.targetinstall: + @$(call targetinfo) + + @$(call install_init, fio) + @$(call install_fixup, fio,PRIORITY,optional) + @$(call install_fixup, fio,SECTION,base) + @$(call install_fixup, fio,AUTHOR,"Lucas Stach <[email protected]>") + @$(call install_fixup, fio,DESCRIPTION,missing) + + @$(call install_copy, fio, 0, 0, 0755, -, /usr/bin/fio) + + @$(call install_finish, fio) + + @$(call touch) + +# vim: syntax=make -- 2.20.1 _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
