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
LU-240 test_171() races with background multiop
[fs/lustre-release.git]
/
lustre
/
tests
/
sanity.sh
diff --git
a/lustre/tests/sanity.sh
b/lustre/tests/sanity.sh
index
af6f7af
..
6e4e7ee
100644
(file)
--- a/
lustre/tests/sanity.sh
+++ b/
lustre/tests/sanity.sh
@@
-7307,9
+7307,12
@@
test_171() { # bug20592
#define OBD_FAIL_PTLRPC_DUMP_LOG 0x50e
$LCTL set_param fail_loc=0x50e
$LCTL set_param fail_val=3000
#define OBD_FAIL_PTLRPC_DUMP_LOG 0x50e
$LCTL set_param fail_loc=0x50e
$LCTL set_param fail_val=3000
- multiop_bg_pause $DIR/$tfile Os || true
+ multiop_bg_pause $DIR/$tfile O_s || true
+ local MULTIPID=$!
+ kill -USR1 $MULTIPID
# cause log dump
sleep 3
# cause log dump
sleep 3
+ wait $MULTIPID
if dmesg | grep "recursive fault"; then
error "caught a recursive fault"
fi
if dmesg | grep "recursive fault"; then
error "caught a recursive fault"
fi