test/zcopy: disable traces in subsystem_add_ns loop

This loop produces a LOT of logs, which aren't very useful, so silence
them to reduce the clutter in the logs.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I5032c2c5bc309f8b29455349adf7063c7e9d50cc
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16648
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Michal Berger <michal.berger@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
Konrad Sztyber 2023-01-30 15:31:50 +01:00 committed by Tomasz Zawadzki
parent 13d3123115
commit 43121e8693

View File

@ -38,11 +38,13 @@ $rootdir/build/examples/bdevperf --json <(gen_nvmf_target_json) \
-t 5 -q 128 -w randrw -M 50 -o 8192 & -t 5 -q 128 -w randrw -M 50 -o 8192 &
perfpid=$! perfpid=$!
xtrace_disable
while kill -0 $perfpid; do while kill -0 $perfpid; do
# Add the same namespace again. It'll fail, but will also pause/resume the subsystem and # Add the same namespace again. It'll fail, but will also pause/resume the subsystem and
# the namespace forcing the IO requests to be queued/resubmitted. # the namespace forcing the IO requests to be queued/resubmitted.
$rpc_py nvmf_subsystem_add_ns nqn.2016-06.io.spdk:cnode1 malloc0 -n 1 &> /dev/null || : $rpc_py nvmf_subsystem_add_ns nqn.2016-06.io.spdk:cnode1 malloc0 -n 1 &> /dev/null || :
done done
xtrace_restore
wait $perfpid wait $perfpid