xref: /spdk/test/ocf/integrity/bdevperf-iotypes.sh (revision eb53c23236cccb6b698b7ca70ee783da1c574b5f)
1#!/usr/bin/env bash
2#  SPDX-License-Identifier: BSD-3-Clause
3#  Copyright (C) 2019 Intel Corporation
4#  All rights reserved.
5#
6curdir=$(dirname $(readlink -f "${BASH_SOURCE[0]}"))
7rootdir=$(readlink -f $curdir/../../..)
8source $rootdir/test/common/autotest_common.sh
9
10bdevperf=$rootdir/build/examples/bdevperf
11
12source "$curdir/mallocs.conf"
13$bdevperf --json <(gen_malloc_ocf_json) -q 128 -o 4096 -t 4 -w flush
14$bdevperf --json <(gen_malloc_ocf_json) -q 128 -o 4096 -t 4 -w unmap
15$bdevperf --json <(gen_malloc_ocf_json) -q 128 -o 4096 -t 4 -w write
16