#!/usr/bin/env bash # SPDX-License-Identifier: BSD-3-Clause # Copyright (C) 2021 Intel Corporation # All rights reserved. # args=() # Define extra arguments to the app if [[ -n $FIO_ARGS ]]; then args+=($FIO_ARGS) fi # Wait a bit to make sure ip is in place sleep 2s export LD_PRELOAD=/usr/local/bin/fio/spdk_bdev exec /usr/src/fio/fio "${args[@]}" /fio.conf