From: Yu Jian Date: Mon, 25 Apr 2011 14:38:57 +0000 (+0800) Subject: LU-203 pass client mount options to zconf_mount_clients() correctly X-Git-Tag: 1.8.5.56~28 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d46a1ca866adbd5bf7f33c6b514dba8ff227b636;p=fs%2Flustre-release.git LU-203 pass client mount options to zconf_mount_clients() correctly Quote the third argument and pass it to zconf_mount_clients(). Signed-off-by: Yu Jian Change-Id: I86c2aea284178ca561c809f439faf9fd01d6e1c6 Reviewed-on: http://review.whamcloud.com/461 Tested-by: Hudson Reviewed-by: Brian J. Murrell Reviewed-by: Johann Lombardi Reviewed-by: Chris Gearing --- diff --git a/lustre/tests/parallel-scale.sh b/lustre/tests/parallel-scale.sh index 73e0040..365684db 100644 --- a/lustre/tests/parallel-scale.sh +++ b/lustre/tests/parallel-scale.sh @@ -592,12 +592,12 @@ test_statahead () { local num_mntpts=$statahead_NUMMNTPTS local mntpt_root=$TMP/mntpt/lustre - mntopts=${MNTOPTSTATAHEAD:-$MOUNTOPT} + local mntopts=${MNTOPTSTATAHEAD:-$MOUNTOPT} echo "Mounting $num_mntpts lustre clients starts on $clients" trap "cleanup_statahead $clients $mntpt_root $num_mntpts" EXIT ERR for i in $(seq 0 $num_mntpts); do - zconf_mount_clients $clients ${mntpt_root}$i $mntopts || + zconf_mount_clients $clients ${mntpt_root}$i "$mntopts" || error_exit "Failed to mount lustre on ${mntpt_root}$i on $clients" done