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
Add in a bit of explanation to the config file documentation. Also added
[fs/lustre-release.git]
/
lustre
/
tests
/
mdcreqcleanup.sh
diff --git
a/lustre/tests/mdcreqcleanup.sh
b/lustre/tests/mdcreqcleanup.sh
index
8096a03
..
141d1df
100755
(executable)
--- a/
lustre/tests/mdcreqcleanup.sh
+++ b/
lustre/tests/mdcreqcleanup.sh
@@
-1,22
+1,34
@@
-rmmod llight
+#!/bin/sh
+
+SRCDIR="`dirname $0`"
+. $SRCDIR/common.sh
+
+rmmod llite
rmmod mdc
rmmod mdc
-/usr/src/obd/utils/obdctl <<EOF
+
+$OBDCTL <<EOF
device 0
cleanup
detach
quit
EOF
device 0
cleanup
detach
quit
EOF
+
rmmod mds
rmmod osc
rmmod ost
rmmod mds
rmmod osc
rmmod ost
-rmmod obext2
+rmmod ob
d
ext2
rmmod obdclass
rmmod ptlrpc
rmmod obdclass
rmmod ptlrpc
-/usr/src/portals/linux/utils/ptlctl <<EOF
-setup tcp localhost 1234
-disconnect self
-disconnect mds
+
+$PTLCTL <<EOF
+setup tcp
+disconnect localhost
+del_uuid self
+del_uuid mds
EOF
EOF
-rmmod ksocknal
+
+losetup -d ${LOOP}0
+
killall acceptor
killall acceptor
+rmmod ksocknal
rmmod portals
rmmod portals