From b09918583edd8432fcd82c06126c08289699d7b1 Mon Sep 17 00:00:00 2001 From: andrewwhitecdw Date: Mon, 17 Aug 2026 19:16:15 -0500 Subject: [PATCH] fix(setup-fio): ssh options placed after host in drop_caches (+1 more) Signed-off-by: Andrew White Signed-off-by: andrewwhitecdw --- bobber/test_scripts/setup_fio.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bobber/test_scripts/setup_fio.sh b/bobber/test_scripts/setup_fio.sh index edf0c27..f8a440e 100755 --- a/bobber/test_scripts/setup_fio.sh +++ b/bobber/test_scripts/setup_fio.sh @@ -18,7 +18,7 @@ drop_caches () { declare -a pidlist unset pidlist for N in ${FIO_NODELIST}; do - ssh $N $SSHOPTS /sbin/sysctl vm.drop_caches=3 & + ssh ${SSHOPTS} $N /sbin/sysctl vm.drop_caches=3 & p=$! pidlist=(${pidlist[@]} $p) done @@ -30,12 +30,12 @@ drop_caches () { stop_servers () { declare -a pidlist - pidlist="" + pidlist=() for N in $FIO_NODELIST; do echo "Killing Server on $N" if [ "$N" == "localhost" ]; then - killall fio + killall fio & else ssh ${SSHOPTS} $N killall fio > /dev/null 2>&1 & fi