From: tappro Date: Mon, 25 Sep 2006 23:27:40 +0000 (+0000) Subject: - fixes due to osc names X-Git-Tag: v1_8_0_110~486^2~828 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5563a7eeadd2011cc943214fe0b0c402066270b4;p=fs%2Flustre-release.git - fixes due to osc names --- diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index e604fd8..e136c31 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -238,7 +238,7 @@ test_18a() { do_facet client cp /etc/termcap $f sync - local osc2dev=`grep ${ost2_svc}.*-osc- $LPROC/devices | awk '{print $1}'` + local osc2dev=`grep ${ost2_svc}-osc- $LPROC/devices | awk '{print $1}'` $LCTL --device $osc2dev deactivate || return 3 # my understanding is that there should be nothing in the page # cache after the client reconnects? diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index c91075f..4cf265b 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -862,7 +862,7 @@ test_41() { do_facet client dd if=/dev/zero of=$f bs=4k count=1 || return 3 cancel_lru_locks osc # fail ost2 and read from ost1 - local osc2dev=`grep ${ost2_svc}lustre-clilov-osc- $LPROC/devices | awk '{print $1}'` + local osc2dev=`grep ${ost2_svc}-osc- $LPROC/devices | awk '{print $1}'` [ "$osc2dev" ] || return 4 $LCTL --device $osc2dev deactivate || return 1 do_facet client dd if=$f of=/dev/null bs=4k count=1 || return 3 @@ -1011,7 +1011,7 @@ test_48() { run_test 48 "MDS->OSC failure during precreate cleanup (2824)" test_50() { - local oscdev=`grep ${ost1_svc}lustre-clilov-osc- $LPROC/devices | awk '{print $1}'` + local oscdev=`grep ${ost1_svc}-osc- $LPROC/devices | awk '{print $1}'` [ "$oscdev" ] || return 1 $LCTL --device $oscdev recover && $LCTL --device $oscdev recover # give the mds_lov_sync threads a chance to run diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 988938cf..6f00720 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -110,6 +110,7 @@ load_modules() { # note that insmod will ignore anything in modprobe.conf load_module ../lnet/lnet/lnet $LNETOPTS LNETLND=${LNETLND:-"socklnd/ksocklnd"} + echo -1 > /proc/sys/lnet/debug load_module ../lnet/klnds/$LNETLND load_module lvfs/lvfs load_module obdclass/obdclass @@ -484,7 +485,7 @@ mds_evict_client() { } ost_evict_client() { - UUID=`cat /proc/fs/lustre/osc/${ost1_svc}*-osc-*/uuid` + UUID=`cat /proc/fs/lustre/osc/${ost1_svc}-osc-*/uuid` do_facet ost1 "echo $UUID > /proc/fs/lustre/obdfilter/${ost1_svc}/evict_client" }