test/fio: add bs=4096 for fio_nvme
Since 'bs=4k' was removed from example_config.fio, although the default bs value is 4096, but it would still be better to just specify bs=4096 here. Change-Id: I7c3bf10c10e42573ecb6683a371c3e81d3241cec Signed-off-by: wanghailiangx <hailiangx.e.wang@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6251 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
f3fd56fc3c
commit
9c6548838a
@ -35,7 +35,7 @@ PLUGIN_DIR=$rootdir/examples/nvme/fio_plugin
|
||||
|
||||
# Test fio_plugin as host with malloc backend
|
||||
fio_nvme $PLUGIN_DIR/example_config.fio --filename="trtype=$TEST_TRANSPORT adrfam=IPv4 \
|
||||
traddr=$NVMF_FIRST_TARGET_IP trsvcid=$NVMF_PORT ns=1"
|
||||
traddr=$NVMF_FIRST_TARGET_IP trsvcid=$NVMF_PORT ns=1" --bs=4096
|
||||
|
||||
# second test mocking multiple SGL elements
|
||||
fio_nvme $PLUGIN_DIR/mock_sgl_config.fio --filename="trtype=$TEST_TRANSPORT adrfam=IPv4 \
|
||||
@ -53,7 +53,7 @@ if [ $RUN_NIGHTLY -eq 1 ]; then
|
||||
$rpc_py nvmf_subsystem_add_ns nqn.2016-06.io.spdk:cnode2 lvs_0/lbd_0
|
||||
$rpc_py nvmf_subsystem_add_listener nqn.2016-06.io.spdk:cnode2 -t $TEST_TRANSPORT -a $NVMF_FIRST_TARGET_IP -s $NVMF_PORT
|
||||
fio_nvme $PLUGIN_DIR/example_config.fio --filename="trtype=$TEST_TRANSPORT adrfam=IPv4 \
|
||||
traddr=$NVMF_FIRST_TARGET_IP trsvcid=$NVMF_PORT ns=1"
|
||||
traddr=$NVMF_FIRST_TARGET_IP trsvcid=$NVMF_PORT ns=1" --bs=4096
|
||||
$rpc_py nvmf_delete_subsystem nqn.2016-06.io.spdk:cnode2
|
||||
|
||||
# Test fio_plugin as host with nvme lvol nested backend
|
||||
@ -64,7 +64,7 @@ if [ $RUN_NIGHTLY -eq 1 ]; then
|
||||
$rpc_py nvmf_subsystem_add_ns nqn.2016-06.io.spdk:cnode3 lvs_n_0/lbd_nest_0
|
||||
$rpc_py nvmf_subsystem_add_listener nqn.2016-06.io.spdk:cnode3 -t $TEST_TRANSPORT -a $NVMF_FIRST_TARGET_IP -s $NVMF_PORT
|
||||
fio_nvme $PLUGIN_DIR/example_config.fio --filename="trtype=$TEST_TRANSPORT adrfam=IPv4 \
|
||||
traddr=$NVMF_FIRST_TARGET_IP trsvcid=$NVMF_PORT ns=1"
|
||||
traddr=$NVMF_FIRST_TARGET_IP trsvcid=$NVMF_PORT ns=1" --bs=4096
|
||||
$rpc_py nvmf_delete_subsystem nqn.2016-06.io.spdk:cnode3
|
||||
|
||||
sync
|
||||
|
Loading…
Reference in New Issue
Block a user