17 echo "Test 5 reopen a file:" `date` "creating and writing/mnt/lustre/foo"
20 ./openme /mnt/lustre/foo3 &
21 ./writeme /mnt/lustre/iogoeson &
24 echo 0x80000107 > /proc/sys/lustre/fail_loc
25 mknod /mnt/lustre/dev c 10 240 &
26 echo "MDS dropped create request -- sleep 4 secs - watch for timeout"
30 echo "did things recover? check for file foo, bar, check log for reopen."
37 echo "Test 1 drop request:" `date` "creating /mnt/lustre/foo"
40 echo 0x80000107 > /proc/sys/lustre/fail_loc
41 touch /mnt/lustre/foo &
43 echo "MDS dropped create request -- sleep 4 secs - watch for timeout"
47 echo "did things recover? check for file foo."
52 echo "Test 2 test delay queue:" `date` "creating /mnt/lustre/foo"
56 echo 0x80000107 > /proc/sys/lustre/fail_loc
57 touch /mnt/lustre/foo &
59 echo "MDS dropped create request -- sleep 4 secs - watch for timeout"
61 touch /mnt/lustre/a/f &
64 echo "did things recover? check for file foo and a/f"
69 echo "Test 4 dropped reply:" `date` "creating /mnt/lustre/foo2"
72 echo 0x80000119 > /proc/sys/lustre/fail_loc
73 touch /mnt/lustre/foo2 &
75 echo "MDS dropped create request -- sleep 4 secs - watch for timeout"
80 echo "did things recover? check for file foo2"
88 echo "Test 3: Multiple failures"
90 echo 0x0000107 > /proc/sys/lustre/fail_loc
91 touch /mnt/lustre/bar &
93 echo "touch program will have repeated failures sleeping 10"
95 echo 0 > /proc/sys/lustre/fail_loc
98 echo "failure cleared"
99 echo "did things recover? Check for file bar"
100 ls -l /mnt/lustre/bar