Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6f27bc
)
b=23402 mmp_init() fix
author
E.Gryaznova
<grev@sun.com>
Fri, 23 Jul 2010 22:39:17 +0000
(
00:39
+0200)
committer
Johann Lombardi
<johann.lombardi@oracle.com>
Fri, 23 Jul 2010 22:39:17 +0000
(
00:39
+0200)
i=jian.yu
lustre/tests/mmp.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/mmp.sh
b/lustre/tests/mmp.sh
index
820acdc
..
6986c1a
100755
(executable)
--- a/
lustre/tests/mmp.sh
+++ b/
lustre/tests/mmp.sh
@@
-163,7
+163,9
@@
mmp_init() {
error "failed to enable MMP on $MMP_MDSDEV on $MMP_MDS"
fi
- if [ -z "$ostfailover_HOST" ]; then
+ local var=${MMP_OSS}failover_HOST
+
+ if [ -z "${!var}" ]; then
log "Failover is not used on OSS, enabling MMP manually..."
enable_mmp $MMP_OSS $MMP_OSTDEV || \
error "failed to enable MMP on $MMP_OSTDEV on $MMP_OSS"