xref: /spdk/test/ocf/integrity/bdevperf-iotypes.sh (revision eb53c23236cccb6b698b7ca70ee783da1c574b5f)
1c61be1afSVitaliy Mysak#!/usr/bin/env bash
2*eb53c232Spaul luse#  SPDX-License-Identifier: BSD-3-Clause
3*eb53c232Spaul luse#  Copyright (C) 2019 Intel Corporation
4*eb53c232Spaul luse#  All rights reserved.
5*eb53c232Spaul luse#
625f601cfSMaciej Wawrykcurdir=$(dirname $(readlink -f "${BASH_SOURCE[0]}"))
7c61be1afSVitaliy Mysakrootdir=$(readlink -f $curdir/../../..)
8c61be1afSVitaliy Mysaksource $rootdir/test/common/autotest_common.sh
9c61be1afSVitaliy Mysak
1029784f35SKrzysztof Karasbdevperf=$rootdir/build/examples/bdevperf
11c61be1afSVitaliy Mysak
127a0274fcSMichal Bergersource "$curdir/mallocs.conf"
137a0274fcSMichal Berger$bdevperf --json <(gen_malloc_ocf_json) -q 128 -o 4096 -t 4 -w flush
147a0274fcSMichal Berger$bdevperf --json <(gen_malloc_ocf_json) -q 128 -o 4096 -t 4 -w unmap
157a0274fcSMichal Berger$bdevperf --json <(gen_malloc_ocf_json) -q 128 -o 4096 -t 4 -w write
16