From a9fbd32fc689f5f3a1c31ed10d9bc8244fb0168b Mon Sep 17 00:00:00 2001 From: yury Date: Thu, 20 Sep 2007 06:57:39 +0000 Subject: [PATCH] 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 --- lustre/tests/replay-ost-single.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 1.8.3.1