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