Commit d0e6ba0a authored by Michal Berger's avatar Michal Berger Committed by Tomasz Zawadzki
Browse files

test/nvmf: Manually remove cpu lock files

parent 4f857ce5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -90,6 +90,12 @@ function nvmf_host_management() {
	# and so it will never shut down. Just kill it.
	kill -9 $perfpid || true

	# Since we abruptly terminate $perfpid above, we need to do some cleanup on our own.
	# In particular, we need to get rid of the cpu lock files that may potentially prevent
	# the next instance of bdevperf from running.
	# FIXME: Can't we just SIGTERM $perfpid above?
	rm -f /var/tmp/spdk_cpu_lock*

	# Run bdevperf
	$rootdir/build/examples/bdevperf -r /var/tmp/bdevperf.sock --json <(gen_nvmf_target_json "0") -q 64 -o 65536 -w verify -t 1