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
I broke llcleanup earlier. This fixes it.
[fs/lustre-release.git]
/
lustre
/
tests
/
llmountcleanup.sh
diff --git
a/lustre/tests/llmountcleanup.sh
b/lustre/tests/llmountcleanup.sh
index
42bbcae
..
298d01d
100755
(executable)
--- a/
lustre/tests/llmountcleanup.sh
+++ b/
lustre/tests/llmountcleanup.sh
@@
-3,7
+3,9
@@
SRCDIR="`dirname $0`/"
. $SRCDIR/common.sh
SRCDIR="`dirname $0`/"
. $SRCDIR/common.sh
-$DBGCTL debug_kernel /tmp/debug.1
+TIME=`date +'%s'`
+
+$DBGCTL debug_kernel /tmp/debug.1.$TIME 1
if mount | grep '/mnt/lustre'; then
umount /mnt/lustre || fail "cannot unmount"
if mount | grep '/mnt/lustre'; then
umount /mnt/lustre || fail "cannot unmount"
@@
-11,16
+13,12
@@
fi
killall acceptor
rmmod llite
killall acceptor
rmmod llite
-rmmod mdc
$OBDCTL <<EOF
$OBDCTL <<EOF
-name2dev
OS
CDEV
+name2dev
MD
CDEV
cleanup
detach
cleanup
detach
-name2dev LDLMDEV
-cleanup
-detach
-name2dev RPCDEV
+name2dev OSCDEV
cleanup
detach
name2dev OSTDEV
cleanup
detach
name2dev OSTDEV
@@
-32,14
+30,22
@@
detach
name2dev MDSDEV
cleanup
detach
name2dev MDSDEV
cleanup
detach
+name2dev LDLMDEV
+cleanup
+detach
+name2dev RPCDEV
+cleanup
+detach
quit
EOF
quit
EOF
+rmmod lov
rmmod obdecho
rmmod mds_extN
rmmod mds_ext3
rmmod mds_ext2
rmmod mds
rmmod obdecho
rmmod mds_extN
rmmod mds_ext3
rmmod mds_ext2
rmmod mds
+rmmod mdc
rmmod osc
rmmod ost
rmmod obdfilter
rmmod osc
rmmod ost
rmmod obdfilter
@@
-49,20
+55,23
@@
rmmod ptlrpc
rmmod obdclass
rmmod extN
rmmod obdclass
rmmod extN
-$DBGCTL debug_kernel /tmp/debug.2
+$DBGCTL debug_kernel /tmp/debug.2
.$TIME 1
$PTLCTL <<EOF
setup tcp
disconnect
del_uuid self
$PTLCTL <<EOF
setup tcp
disconnect
del_uuid self
-del_uuid
mds
-del_uuid ost
-del_uuid l
dlm
+del_uuid
localhost
+del_uuid
localh
ost
+del_uuid l
ocalhost
quit
EOF
rmmod kqswnal
rmmod ksocknal
quit
EOF
rmmod kqswnal
rmmod ksocknal
+
+$DBGCTL debug_kernel /tmp/debug.3.$TIME 1
+
rmmod portals
losetup -d ${LOOP}0
rmmod portals
losetup -d ${LOOP}0