diff --git a/test/vhost/initiator/blockdev.sh b/test/vhost/initiator/blockdev.sh index 17186dc5d..4e5956fa3 100755 --- a/test/vhost/initiator/blockdev.sh +++ b/test/vhost/initiator/blockdev.sh @@ -56,8 +56,8 @@ rpc_cmd vhost_scsi_controller_add_target naa.Malloc1.0 0 Malloc1 [[ "$(rpc_cmd vhost_get_controllers -n naa.Malloc1.0 | jq -r '.[].cpumask')" == "0xc" ]] # start a dummy app, create vhost bdevs in it, then dump the config for FIO -# Pre-allocate 1GB of memory for the application - virtio-user initiator requires it. See issue #2596. -$SPDK_BIN_DIR/spdk_tgt -r /tmp/spdk2.sock -g -s 1024 -m 0x1 & +# Pre-allocate 2GB of memory for the application - virtio-user initiator requires it. See issue #2596. +$SPDK_BIN_DIR/spdk_tgt -r /tmp/spdk2.sock -g -s 2048 -m 0x1 & dummy_spdk_pid=$! 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'