Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- Added lctl.c which is basically ptlctl/obdctl/debugctl all
[fs/lustre-release.git]
/
lustre
/
tests
/
mdcreq.sh
1
#!/bin/sh
2
3
SRCDIR="`dirname $0`"
4
. $SRCDIR/common.sh
5
6
NETWORK=tcp
7
LOCALHOST=localhost
8
SERVER=localhost
9
PORT=1234
10
11
setup_portals
12
setup_lustre
13
14
MDSFS=ext2
15
new_fs ${MDSFS} /tmp/mds 1000
16
MDS=$LOOPDEV
17
18
echo 0xffffffff > /proc/sys/portals/debug
19
20
$OBDCTL <<EOF
21
device 0
22
attach mds MDSDEV
23
setup ${MDS} ${MDSFS}
24
quit
25
EOF
26
27
mknod /dev/request c 10 244
28
29
./testreq --getattr
30
./testreq --setattr
31
./testreq --readpage
32
./testreq --open
33
./testreq --close junk_file_handle
34
./testreq --create
35
36
echo "Done."