Whamcloud - gitweb
LU-1943 osd: ldiskfs osd to set param.ddp_inodespace
[fs/lustre-release.git] / lustre / tests / cfg / ncli.sh
index ce2a649..d9afd5d 100644 (file)
@@ -10,3 +10,20 @@ init_clients_lists
                 error "tests for remote clients $RCLIENTS needs pdsh != do_dsh " || true
 
 [ -n "$FUNCTIONS" ] && . $FUNCTIONS || true
+
+# for recovery scale tests
+# default boulder cluster iozone location
+export PATH=/opt/iozone/bin:$PATH
+
+LOADS=${LOADS:-"dd tar dbench iozone"}
+for i in $LOADS; do
+    [ -f $LUSTRE/tests/run_${i}.sh ] || \
+        error "incorrect load: $i"
+done
+CLIENT_LOADS=($LOADS)
+
+# This is used when testing on SLURM environment.
+# Test will use srun when SRUN_PARTITION is set
+SRUN=${SRUN:-$(which srun 2>/dev/null || true)}
+SRUN_PARTITION=${SRUN_PARTITION:-""}
+SRUN_OPTIONS=${SRUN_OPTIONS:-"-W 1800 -l -O"}