Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
b=20094
[fs/lustre-release.git]
/
lustre
/
tests
/
sanity.sh
diff --git
a/lustre/tests/sanity.sh
b/lustre/tests/sanity.sh
index
899d1a6
..
199b055
100644
(file)
--- a/
lustre/tests/sanity.sh
+++ b/
lustre/tests/sanity.sh
@@
-5207,11
+5207,11
@@
run_test 120g "Early Lock Cancel: performance test"
test_121() { #bug #10589
rm -rf $DIR/$tfile
test_121() { #bug #10589
rm -rf $DIR/$tfile
- writes=$(LANG=C dd if=/dev/zero of=$DIR/$tfile count=1 2>&1 | awk -F '+' '/out/ {print $1}')
+ writes=$(LANG=C dd if=/dev/zero of=$DIR/$tfile count=1 2>&1 | awk -F '+' '/out
$
/ {print $1}')
#define OBD_FAIL_LDLM_CANCEL_RACE 0x310
lctl set_param fail_loc=0x310
cancel_lru_locks osc > /dev/null
#define OBD_FAIL_LDLM_CANCEL_RACE 0x310
lctl set_param fail_loc=0x310
cancel_lru_locks osc > /dev/null
- reads=$(LANG=C dd if=$DIR/$tfile of=/dev/null 2>&1 | awk -F '+' '/in/ {print $1}')
+ reads=$(LANG=C dd if=$DIR/$tfile of=/dev/null 2>&1 | awk -F '+' '/in
$
/ {print $1}')
lctl set_param fail_loc=0
[ "$reads" -eq "$writes" ] || error "read" $reads "blocks, must be" $writes
}
lctl set_param fail_loc=0
[ "$reads" -eq "$writes" ] || error "read" $reads "blocks, must be" $writes
}