Skip to content
Snippets Groups Projects
Commit a9fbd32f authored by Yury Umanets's avatar Yury Umanets
Browse files

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
parent e74b541f
No related branches found
No related tags found
No related merge requests found
...@@ -112,9 +112,7 @@ test_4() { ...@@ -112,9 +112,7 @@ test_4() {
verify=$ROOT/tmp/verify-$$ verify=$ROOT/tmp/verify-$$
dd if=/dev/urandom bs=4096 count=1280 | tee $verify > $DIR/$tfile dd if=/dev/urandom bs=4096 count=1280 | tee $verify > $DIR/$tfile
# invalidate cache, so that we're reading over the wire # invalidate cache, so that we're reading over the wire
for i in /proc/fs/lustre/ldlm/namespaces/*-osc-*; do cancel_lru_locks osc
echo -n clear > $i/lru_size
done
cmp $verify $DIR/$tfile & cmp $verify $DIR/$tfile &
cmppid=$! cmppid=$!
fail ost1 fail ost1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment