test/vhost/initiator: use single file segments
Single file segments allow us to work with both 1GB and 2MB hugepages. Change-Id: I2a455f9d23fafbf0746423f69379b74939ac2e9c Signed-off-by: Karol Latecki <karol.latecki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2021 Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
df4e823cfc
commit
a3e5b5d0ec
@ -60,7 +60,7 @@ create_bdev_config
|
|||||||
timing_exit create_bdev_config
|
timing_exit create_bdev_config
|
||||||
|
|
||||||
# start a dummy app and generate a json config for FIO
|
# start a dummy app and generate a json config for FIO
|
||||||
$rootdir/app/spdk_tgt/spdk_tgt -r /tmp/spdk2.sock &
|
$rootdir/app/spdk_tgt/spdk_tgt -r /tmp/spdk2.sock -g &
|
||||||
dummy_spdk_pid=$!
|
dummy_spdk_pid=$!
|
||||||
waitforlisten $dummy_spdk_pid /tmp/spdk2.sock
|
waitforlisten $dummy_spdk_pid /tmp/spdk2.sock
|
||||||
rpc_cmd -s /tmp/spdk2.sock bdev_virtio_attach_controller --trtype user --traddr 'naa.Nvme0n1_scsi0.0' -d scsi --vq-count 8 'VirtioScsi0'
|
rpc_cmd -s /tmp/spdk2.sock bdev_virtio_attach_controller --trtype user --traddr 'naa.Nvme0n1_scsi0.0' -d scsi --vq-count 8 'VirtioScsi0'
|
||||||
|
Loading…
Reference in New Issue
Block a user