Whamcloud - gitweb
- name switch: "light" --> "lite"
[fs/lustre-release.git] / lustre / tests / mdcreqcleanup.sh
1 #!/bin/sh
2
3 SRCDIR="`dirname $0`"
4 . $SRCDIR/common.sh
5
6 rmmod llite
7 rmmod mdc
8
9 $OBDCTL <<EOF
10 device 0
11 cleanup
12 detach
13 quit
14 EOF
15
16 rmmod mds
17 rmmod osc
18 rmmod ost
19 rmmod obdext2
20 rmmod obdclass
21 rmmod ptlrpc
22
23 $PTLCTL <<EOF
24 setup tcp
25 disconnect localhost
26 del_uuid self
27 del_uuid mds
28 EOF
29
30 losetup -d ${LOOP}0
31
32 killall acceptor
33 rmmod ksocknal
34 rmmod portals