Whamcloud - gitweb
msg
authorrread <rread>
Mon, 13 Oct 2003 22:44:45 +0000 (22:44 +0000)
committerrread <rread>
Mon, 13 Oct 2003 22:44:45 +0000 (22:44 +0000)
lustre/ptlrpc/ptlrpc_lib.c
lustre/tests/replay-single.sh

index c2e90f8..8adb823 100644 (file)
@@ -132,6 +132,9 @@ int client_obd_setup(struct obd_device *obddev, obd_count len, void *buf)
         cli->cl_max_mds_cookiesize = sizeof(struct llog_cookie);
         cli->cl_sandev = to_kdev_t(0);
 
+
+        obddev->obd_logops = &llogd_client_ops;
+
         /* Register with management client if we need to. */
         if (lcfg->lcfg_inllen3 > 0) {
                 char *mgmt_name = lcfg->lcfg_inlbuf3;
index 8ab3e24..6b99216 100755 (executable)
@@ -40,10 +40,10 @@ build_test_filter
 
 cleanup() {
     [ "$DAEMONFILE" ] && lctl debug_daemon stop
-    umount $MOUNT
+    umount $MOUNT || true
     rmmod llite
-    stop mds ${FORCE} $MDSLCONFARGS --dump cleanup.log
-    stop ost ${FORCE}
+    stop mds ${FORCE} $MDSLCONFARGS
+    stop ost ${FORCE} --dump cleanup.log
 }
 
 if [ "$ONLY" == "cleanup" ]; then
@@ -56,10 +56,11 @@ gen_config
 
 start ost --reformat $OSTLCONFARGS
 start mds --write_conf --reformat $MDSLCONFARGS
-# start client --gdb $CLIENTLCONFARGS
+
+# 0-conf client
 insmod ../llite/llite.o || true
+[ -d /r ] && lctl modules > /r/tmp/ogdb-`hostname`
 [ -d $MOUNT ] || mkdir $MOUNT 
-
 mount -t lustre_lite -o mds_uuid=mds1_UUID,profile=client_facet replay-single $MOUNT
 
 [ "$DAEMONFILE" ] && lctl debug_daemon start $DAEMONFILE $DAEMONSIZE