From 3d2fbf0f79e0905a96b16b95232a8496367eb41c Mon Sep 17 00:00:00 2001 From: grev Date: Fri, 15 May 2009 13:22:52 +0000 Subject: [PATCH] b=19380 i=Johann i=He.Huang add local_nid_dist_zero=0 to LNETOPTS --- lustre/tests/test-framework.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 8190428..0047ab2 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -180,6 +180,11 @@ load_modules() { [ -z "$LNETOPTS" -a "$MODPROBECONF" ] && \ LNETOPTS=$(awk '/^options lnet/ { print $0}' $MODPROBECONF | sed 's/^options lnet //g') echo $LNETOPTS | grep -q "accept=all" || LNETOPTS="$LNETOPTS accept=all"; + # bug 19380 + if [ "$NETTYPE" = "tcp" -o "$NETTYPE" = "o2ib" -o "$NETTYPE" = "ptl" ]; then + echo $LNETOPTS | grep -q "local_nid_dist_zero=0" || + LNETOPTS="$LNETOPTS local_nid_dist_zero=0" + fi echo "lnet options: '$LNETOPTS'" # note that insmod will ignore anything in modprobe.conf load_module ../lnet/lnet/lnet $LNETOPTS -- 1.8.3.1