Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
initial code repo
[stor4nfv.git]
/
src
/
ceph
/
qa
/
mds
/
test_anchortable.sh
1
#!/bin/bash -x
2
3
mkdir links
4
for f in `seq 1 8`
5
do
6
mkdir $f
7
for g in `seq 1 20`
8
do
9
touch $f/$g
10
ln $f/$g links/$f.$g
11
done
12
done
13
14
for f in `seq 1 8`
15
do
16
echo testing failure point $f
17
bash -c "pushd . ; cd $bindir ; sleep 10; ./ceph -c $conf mds tell \* injectargs \"--mds_kill_mdstable_at $f\" ; popd" &
18
bash -c "pushd . ; cd $bindir ; sleep 11 ; ./init-ceph -c $conf start mds ; popd" &
19
for g in `seq 1 20`
20
do
21
rm $f/$g
22
rm links/$f.$g
23
sleep 1
24
done
25
done
26