From: yury Date: Thu, 20 Sep 2007 06:57:39 +0000 (+0000) Subject: b=13664 X-Git-Tag: v1_8_0_110~1186 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a9fbd32fc689f5f3a1c31ed10d9bc8244fb0168b;p=fs%2Flustre-release.git b=13664 r=adilger, nathan - use cancel_lru_locks in replay-ost-single.sh test_4 to cancel cached locks instead of using buggy echo -n clear > $i/lru_size --- diff --git a/lustre/tests/replay-ost-single.sh b/lustre/tests/replay-ost-single.sh index ef0ae73..b20e215 100755 --- a/lustre/tests/replay-ost-single.sh +++ b/lustre/tests/replay-ost-single.sh @@ -112,9 +112,7 @@ test_4() { verify=$ROOT/tmp/verify-$$ dd if=/dev/urandom bs=4096 count=1280 | tee $verify > $DIR/$tfile # invalidate cache, so that we're reading over the wire - for i in /proc/fs/lustre/ldlm/namespaces/*-osc-*; do - echo -n clear > $i/lru_size - done + cancel_lru_locks osc cmp $verify $DIR/$tfile & cmppid=$! fail ost1