Commit 897eed31 authored by Tomasz Zawadzki's avatar Tomasz Zawadzki Committed by Jim Harris
Browse files

test/ioat: remove unnecessary config entires



Since IOAT is disabled by default, that option can be removed from
any config file used in tests.

Change-Id: I681bd1eb6a8c81328ba580be75b418994ccd85e3
Signed-off-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/423357


Reviewed-by: default avatarGangCao <gang.cao@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent b5d1b4f4
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -29,17 +29,10 @@ cd rocksdb
make db_bench SPDK_DIR=path/to/spdk
~~~

Copy `etc/spdk/rocksdb.conf.in` from the SPDK repository to `/usr/local/etc/spdk/rocksdb.conf`.
Create an NVMe section in the configuration file using SPDK's `gen_nvme.sh` script.

~~~{.sh}
cd ../spdk
cp etc/spdk/rocksdb.conf.in /usr/local/etc/spdk/rocksdb.conf
~~~

Append an NVMe section to the configuration file using SPDK's `gen_nvme.sh` script.

~~~{.sh}
scripts/gen_nvme.sh >> /usr/local/etc/spdk/rocksdb.conf
scripts/gen_nvme.sh > /usr/local/etc/spdk/rocksdb.conf
~~~

Verify the configuration file has specified the correct NVMe SSD.

etc/spdk/rocksdb.conf.in

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
# spdk configuration file
#
# Please write all parameters using ASCII.
# The parameter must be quoted if it includes whitespace.
#
# Configuration syntax:
# Spaces at head of line are deleted, other spaces are as separator
# Lines starting with '#' are comments and not evaluated.
# Lines ending with '\' are concatenated with the next line.
# Bracketed keys are section keys grouping the following value keys.
# Number of section key is used as a tag number.
#  Ex. [TargetNode1] = TargetNode section key with tag number 1
[Global]

[Ioat]
  Enable No

# [Nvme] section will get appended here by scripts/gen_nvme.sh.
+0 −3
Original line number Diff line number Diff line
@@ -18,9 +18,6 @@
  AIO /dev/ram0 AIO0
  AIO /tmp/aiofile AIO1 2048

[Ioat]
  Enable No

[QoS]
  # QoS section defines limitation on performance
  # metric like IOPS
+1 −2
Original line number Diff line number Diff line
@@ -45,8 +45,7 @@ popd

timing_exit db_bench_build

cp $rootdir/etc/spdk/rocksdb.conf.in $ROCKSDB_CONF
$rootdir/scripts/gen_nvme.sh >> $ROCKSDB_CONF
$rootdir/scripts/gen_nvme.sh > $ROCKSDB_CONF

trap 'run_bsdump; rm -f $ROCKSDB_CONF; exit 1' SIGINT SIGTERM EXIT

+0 −2
Original line number Diff line number Diff line
[Ioat]
  Enable No
Loading