test/bdevio: detach from build

With the I/O channel changes, this test needs to be rewritten
to be event-based.  bdevio uses the spdk_bdev_do_work() function
to poll for completions, which is built on the check_io functions
that are going away when we move to using I/O channels.

Do not delete the code from the tree - just detach it from the
build and the test scripts for now.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I88674988db6ccb3673faf7eb5b3e79b403059fa4
This commit is contained in:
Jim Harris 2016-09-20 22:15:46 -07:00
parent 06cf905c9a
commit fa29c70938
2 changed files with 10 additions and 5 deletions

View File

@ -34,7 +34,10 @@
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..) SPDK_ROOT_DIR := $(abspath $(CURDIR)/../../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
DIRS-y = bdevio bdevperf DIRS-y = bdevperf
# Disable bdevio build for now - it needs to be rewritten to be
# event based.
#DIRS-y = bdevio
.PHONY: all clean $(DIRS-y) .PHONY: all clean $(DIRS-y)

View File

@ -10,10 +10,12 @@ testdir=$(readlink -f $(dirname $0))
timing_enter blockdev timing_enter blockdev
timing_enter bounds # bdevio is disconnected from the build currently - it needs to be rewritten
$testdir/bdevio/bdevio $testdir/bdev.conf # as an event-based test program.
process_core #timing_enter bounds
timing_exit bounds #$testdir/bdevio/bdevio $testdir/bdev.conf
#process_core
#timing_exit bounds
timing_enter verify timing_enter verify
$testdir/bdevperf/bdevperf -c $testdir/bdev.conf -q 32 -s 4096 -w verify -t 5 $testdir/bdevperf/bdevperf -c $testdir/bdev.conf -q 32 -s 4096 -w verify -t 5