Commit 8190e121 authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

test/bdev: add Ceph RBD bdev to bdev tests



Change-Id: I7a65a5818f2b851962c2be391efedfb9bfc8398c
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/373841


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent d5dd730c
Loading
Loading
Loading
Loading

scripts/gen_rbd.sh

0 → 100755
+11 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash

set -e

if ! hash ceph &> /dev/null; then
        exit 0
fi

echo
echo "[Ceph]"
echo "  Ceph $RBD_POOL $RBD_NAME 512"
+4 −0
Original line number Diff line number Diff line
@@ -56,6 +56,10 @@ dd if=/dev/zero of=/tmp/aiofile bs=2048 count=5000
cp $testdir/bdev.conf.in $testdir/bdev.conf
$rootdir/scripts/gen_nvme.sh >> $testdir/bdev.conf

if [ $SPDK_TEST_RBD -eq 1 ]; then
	$rootdir/scripts/gen_rbd.sh >> $testdir/bdev.conf
fi

timing_enter bounds
$testdir/bdevio/bdevio $testdir/bdev.conf
timing_exit bounds