45 Commits

Author SHA1 Message Date
Khem Raj 10fb90ef3c fio: Upgrade to 3.36+git
Brings needed fixes to build with latest musl as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-25 18:52:52 -07:00
Alexander Kanavin a4e9bec26d fio: revert "fio: upgrade 3.32 -> 2022"
This was a bogus update (from AUH I believe) and should be reverted.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-29 07:35:36 -08:00
Khem Raj 9cd7f8ad27 fio: upgrade 3.32 -> 2022
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-05 22:27:14 -08:00
Wang Mingyu 05110a0ab4 fio: upgrade 3.31 -> 3.32
0001-io_uring-Replace-pthread_self-with-s-tid.patch
removed since it's included in 3.32

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:34 -07:00
Khem Raj 0e045dd978 fio: Fix additional warnings seen with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-25 23:08:11 -07:00
Wang Mingyu 6a94da5d17 fio: upgrade 3.30 -> 3.31
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-15 16:27:53 -07:00
wangmy 31e0ca154c fio: upgrade 3.29 -> 3.30
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-11 08:52:55 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
wangmy c8261ca2ee fio: upgrade 3.28 -> 3.29
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-21 18:49:37 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Khem Raj 1e3a6e7be3 fio: Upgrade to 3.28
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-24 08:12:36 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
zhengruoqin 17f07baff8 fio: upgrade 3.26 -> 3.27
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-03 09:13:52 -07:00
zangrc 8a68829eb9 fio: upgrade 3.25 -> 3.26
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-16 21:37:14 -07:00
zangrc cb81bc73a4 fio: upgrade 3.24 -> 3.25
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-18 08:23:14 -08:00
zangrc a62201c7a7 fio: upgrade 3.22 -> 3.24
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-23 07:09:33 -08:00
Zang Ruochen 85af6c1f18 fio: upgrade 3.21 -> 3.22
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:20 -07:00
Mingli Yu b3d6f4f85f fio: upgrade to 3.21
Remove 2 patches as these logics have been already included in the
new version as [1] and [2].

[1] https://git.kernel.dk/?p=fio.git;a=commit;h=8629f5f5c24e8a02c0a168cff22a40ec0788bb2d
[2] https://git.kernel.dk/?p=fio.git;a=commit;h=10ee8843e79763e8b6ff967f8a2b5d5b92411f90

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-10 11:04:21 -07:00
Liwei Song d104def001 fio: disable compiler optimizations for x86 arch
with compiler optimizations enabled, "fio --help" will failed with
"Illegal instruction" on Intel Denverton board.
Enable it on condition that MACHINE_FEATURES include x86.

Related commits:
https://git.openembedded.org/meta-openembedded/commit/?id=c58d9d500f90246d2d879e720fdfa5bbbc731c7f
https://git.openembedded.org/meta-openembedded/commit/?id=739349da0826221f98648b64b693f9ae33e7d4ea

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-13 10:57:21 -07:00
Slater, Joseph 1b8d355149 fio: change four python shebangs
Use python3.  Note that the recipe already depends on python3-core
at runtime.  We only change scripts that show up under /usr/bin.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-27 17:24:19 -08:00
onathan Richardson c58d9d500f fio: remove disabling of compiler optimizations
Disabling compiler optimizations affects fio performance by 25-30% so
remove this from EXTRA_OECONF. Disabling of optimizations should be
machine specific if there are bugs in the code instead of the default.

Optimizations were removed in this commit:
https://git.openembedded.org/meta-openembedded/commit/?id=739349da0826221f98648b64b693f9ae33e7d4ea

Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-20 08:22:32 -08:00
Yongxin Liu 392484ae21 fio: Add support for PMDK engines
"pmemblk", "dev-dax" and "libpmem" engines are used for persistent memory.
In order to enable them, add "pmem" to MACHINE_FEATURES in BSP conf.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-04 18:45:46 -08:00
Andrey Zhizhikin 8ae0b846ca fio: update recipe to use python3
Update fio recipe to target python3 since python2 is EOL and has been
dropped from OE-Core.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-28 11:31:04 -08:00
Zang Ruochen 77e647912e fio: upgrade 3.16 -> 3.17
-files/0001-arch-arm-Consider-armv7ve-arch-as-well.patch
Removed since this is included in 3.17.

-Refresh the following patch:
files/0001-update-the-interpreter-paths.patch

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-15 23:17:45 -08:00
Khem Raj 2582668a34 fio: Fix build when march is armv7ve
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-05 09:53:30 -07:00
Khem Raj a82f449dab fio: Depend on coreutils-native for fmt utility
It needs fmt during build, fixes
/bin/sh: fmt: command not found

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-05 09:53:30 -07:00
Zang Ruochen 2af2346bce fio: upgrade 3.15 -> 3.16
-files/0001-engines-splice-remove-buggy-mem_align-set.patch
Removed since this is included in 3.16.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-24 10:35:46 -07:00
Changqing Li 0a36d10f0c fio: Delete redundant tag
delete "rev for v3.8" in fio_3.15.bb this is unneeded since version is
in the recipe name itself

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-05 00:38:49 -07:00
Liwei Song bb781ebf2f fio: fix first direct IO errored when ioengine is splice
backport an fio upstream patch to fix "first direct IO errored" when
we specify -ioengine=spice

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-05 00:38:49 -07:00
Mingli Yu 7428873d8c fio: Upgrade to 3.15
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-18 11:21:57 -07:00
leimaohui f070bf7d11 Fix build error for armeb.
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-06 08:22:22 -07:00
Mingli Yu 00e4892ebf fio: Upgrade to 3.12
Refresh 0001-update-the-interpreter-paths.patch as the
folder unit_tests/ is renamed to t/ in below commit:
c44d2c6e Move steady state unit test to t/

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-16 14:46:44 -08:00
Mingli Yu 739349da08 fio: disable compiler optimizations
Pass parameter "--disable-optimizations" to
configure script to disable compiler optimizations
to fix below issue:
$ gdb /usr/bin/fio
(gdb) r -h
Starting program: /usr/bin/fio -h
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0x0000000000407220 in prio_tree_init () at lib/prio_tree.c:61
 61	index_bits_to_maxindex[i] = (1UL << (i + 1)) - 1;
(gdb) bt
 #0 0x0000000000407220 in prio_tree_init () at lib/prio_tree.c:61
 #1 0x0000000000482208 in __libc_csu_init (argc=argc@entry=2,
    argv=argv@entry=0x7fffffffecc8, envp=0x7fffffffece0)
    at /usr/src/debug/glibc/2.26-r0/git/csu/elf-init.c:88
 #2 0x00000031c742095e in __libc_start_main (main=0x407700 <main>, argc=2,
    argv=0x7fffffffecc8, init=0x4821b6 <__libc_csu_init>,
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffecb8)
    at /usr/src/debug/glibc/2.26-r0/git/csu/libc-start.c:264
 #3 0x00000000004077ea in _start () at ../sysdeps/x86_64/start.S:120

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-21 10:35:32 -07:00
Mingli Yu feafef878a fio: Upgrade to 3.8
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-21 10:34:36 -07:00
Mingli Yu be7cdd94fd fio: Upgrade to 3.7
* Licence-Update:
  Address update in COPYING
* Add patch 0001-update-the-interpreter-paths.patch
  and add python and bash to RDEPENDS_${PN} to fix
  below QA issues:
  ERROR: fio-3.7-r0 do_package_qa: QA Issue: /usr/bin/fiologparser.py contained in package fio requires /usr/bin/python2.7, but no providers found in RDEPENDS_fio? [file-rdeps]
  ERROR: fio-3.7-r0 do_package_qa: QA Issue: /usr/bin/genfio contained in package fio requires /usr/bin/bash, but no providers found in RDEPENDS_fio? [file-rdeps]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-20 16:14:22 -07:00
Derek Straka a29cece382 fio: update to version 2.9
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-06 12:40:23 +02:00
Martin Jansa df7242fddb recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"
* Using "cp -a" leaks UID of user running the builds, causing
  many QA warnings.
* See this thread for details:
  http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-04 09:06:22 +01:00
Fabio Berton e29474b801 fio: Remove --disable-static from EXTRA_OECONF
As of commit OE-Core:773c9e18071d71454473dd81aff911104a2e9bc6
EXTRA_OECONF is appended with the option --disable-static on
DISABLE_STATIC variable and this cause the error:

    DEBUG: Python function sysroot_cleansstate finished
    DEBUG: Executing shell function do_configure
    Bad option --disable-static
    --cpu=                 Specify target CPU if auto-detect fails
    --cc=                  Specify compiler to use
    --extra-cflags=        Specify extra CFLAGS to pass to compiler
    --build-32bit-win      Enable 32-bit build on Windows
    --build-static         Build a static fio
    --esx                  Configure build options for esx
    --enable-gfio          Enable building of gtk gfio
    --disable-numa         Disable libnuma even if found
    --enable-libhdfs       Enable hdfs support
    WARNING: exit code 1 from a shell command.

So, we need to disable this option.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-25 17:45:50 +01:00
Dominic Sacré eb01b36cb3 fio: Add PACKAGECONFIG for numa, re-enable ARM build
Make fio's NUMA support optional via PACKAGECONFIG.
Enable this feature by default, except on ARM where libnuma/numactl
is not available.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 21:03:27 +02:00
Armin Kuster a71a76d552 fio: Fix QA warnings
WAWARNING: QA Issue: fio rdepends on numactl, but it isn't a build dependency? [build-deps]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-11 10:57:11 +02:00
Dominic Sacré 923d50b719 fio: add missing build dependency on zlib
Fixes:
| WARNING: QA Issue: fio rdepends on zlib, but it isn't a build dependency? [build-deps]

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-11 10:27:28 +02:00
Raphael Silva 9b35e07cab fio: fix do_compile error
* Update to v2.2.6

Signed-off-by: Raphael Silva <raphael.philipe@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-03 08:36:01 +01:00
Otavio Salvador a7b4558ff2 fio: Add armv6 support
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:27 +02:00
Martin Jansa a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Tom Rini 6b8c314002 fio: Add initial recipe for version 2.0.5
Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-09 07:51:15 +01:00