Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=20563 fix fid_flatten32().
[fs/lustre-release.git]
/
lustre
/
tests
/
large-scale.sh
diff --git
a/lustre/tests/large-scale.sh
b/lustre/tests/large-scale.sh
index
c3ecd82
..
f97fba9
100644
(file)
--- a/
lustre/tests/large-scale.sh
+++ b/
lustre/tests/large-scale.sh
@@
-15,12
+15,13
@@
CLEANUP=${CLEANUP:-""}
init_test_env $@
. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
init_test_env $@
. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
+init_logging
remote_mds_nodsh && log "SKIP: remote MDS with nodsh" && exit 0
remote_mds_nodsh && log "SKIP: remote MDS with nodsh" && exit 0
-[ -n "$CLIENTS" ] || { skip "$0: Need two or more clients" && exit 0; }
+[ -n "$CLIENTS" ] || { skip
_env
"$0: Need two or more clients" && exit 0; }
[ $CLIENTCOUNT -ge 2 ] || \
[ $CLIENTCOUNT -ge 2 ] || \
- { skip
"$0: Need two or mor
e clients, have $CLIENTCOUNT" && exit 0; }
+ { skip
_env "$0: Need two or more remot
e clients, have $CLIENTCOUNT" && exit 0; }
#
[ "$SLOW" = "no" ] && EXCEPT_SLOW=""
#
[ "$SLOW" = "no" ] && EXCEPT_SLOW=""
@@
-31,6
+32,10
@@
build_test_filter
check_and_setup_lustre
rm -rf $DIR/[df][0-9]*
check_and_setup_lustre
rm -rf $DIR/[df][0-9]*
+get_mpiuser_id $MPI_USER
+MPI_RUNAS=${MPI_RUNAS:-"runas -u $MPI_USER_UID -g $MPI_USER_GID"}
+$GSS_KRB5 && refresh_krb5_tgt $MPI_USER_UID $MPI_USER_GID $MPI_RUNAS
+
[ "$DAEMONFILE" ] && $LCTL debug_daemon start $DAEMONFILE $DAEMONSIZE
test_3a() {
[ "$DAEMONFILE" ] && $LCTL debug_daemon start $DAEMONFILE $DAEMONSIZE
test_3a() {
@@
-54,7
+59,7
@@
test_3a() {
local IFree=$(inodes_available)
[ $IFree -gt $nfiles ] || nfiles=$IFree
local IFree=$(inodes_available)
[ $IFree -gt $nfiles ] || nfiles=$IFree
- local dir=$DIR/
$tdir
+ local dir=$DIR/
d0.$TESTNAME
mkdir -p $dir
chmod 0777 $dir
mkdir -p $dir
chmod 0777 $dir