test/nvmf: do not limit qpairs in nvmf_vhost
nvmf_vhost test verifies multiple components at once. In this case the number of NVMe-oF I/O qpairs per controller is limited to just 4. When a VM connected to the vhost_tgt is booted, the vhost controller is started/destroyed multiple times. The quick succession of getting I/O channels and asynchronous nature of NVMe-oF qpair deletion/creation, results in exhausting the free qpair ids. There is no reason to limit the number of NVMe-oF I/O qpairs in this test. If there ever is a need, a new test could be added exploring behaviour of components (like vhost) when get I/O channel fails. Fixes #2517 Change-Id: I32455c0499a1b79c82f921aaac193a83bd9cb468 Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14626 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
b5689b389e
commit
eafb489c0d
@ -37,7 +37,7 @@ trap 'process_shm --id $NVMF_APP_SHM_ID; killprocess $vhostpid nvmftestfini; exi
|
|||||||
# Configure NVMF tgt on host machine
|
# Configure NVMF tgt on host machine
|
||||||
malloc_bdev="$($NVMF_RPC bdev_malloc_create $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE)"
|
malloc_bdev="$($NVMF_RPC bdev_malloc_create $MALLOC_BDEV_SIZE $MALLOC_BLOCK_SIZE)"
|
||||||
|
|
||||||
$NVMF_RPC nvmf_create_transport $NVMF_TRANSPORT_OPTS -u 8192 -m 4
|
$NVMF_RPC nvmf_create_transport $NVMF_TRANSPORT_OPTS -u 8192
|
||||||
$NVMF_RPC nvmf_create_subsystem nqn.2016-06.io.spdk:cnode1 -a -s SPDK00000000000001
|
$NVMF_RPC nvmf_create_subsystem nqn.2016-06.io.spdk:cnode1 -a -s SPDK00000000000001
|
||||||
$NVMF_RPC nvmf_subsystem_add_ns nqn.2016-06.io.spdk:cnode1 "$malloc_bdev"
|
$NVMF_RPC nvmf_subsystem_add_ns nqn.2016-06.io.spdk:cnode1 "$malloc_bdev"
|
||||||
$NVMF_RPC nvmf_subsystem_add_listener nqn.2016-06.io.spdk:cnode1 -t $TEST_TRANSPORT -a $NVMF_FIRST_TARGET_IP -s $NVMF_PORT
|
$NVMF_RPC nvmf_subsystem_add_listener nqn.2016-06.io.spdk:cnode1 -t $TEST_TRANSPORT -a $NVMF_FIRST_TARGET_IP -s $NVMF_PORT
|
||||||
|
Loading…
Reference in New Issue
Block a user