Whamcloud - gitweb
- a variety of log fixes to the catalog system
authorbraam <braam>
Thu, 18 Sep 2003 02:11:21 +0000 (02:11 +0000)
committerbraam <braam>
Thu, 18 Sep 2003 02:11:21 +0000 (02:11 +0000)
  - can now create catalog entries and secondary logs
  - some obdo is not being cleaned up.

lustre/mds/mds_internal.h
lustre/tests/run-llog.sh [new file with mode: 0644]

index a5b7290..ae98de0 100644 (file)
@@ -53,7 +53,7 @@ int mds_close(struct ptlrpc_request *req);
 int mds_client_add(struct obd_device *obd, struct mds_obd *mds,
                    struct mds_export_data *med, int cl_off);
 int mds_client_free(struct obd_export *exp, int clear_client);
-int mds_object_create(struct obd_export *exp, struct obdo *oa,
+int mds_obd_create(struct obd_export *exp, struct obdo *oa,
                       struct lov_stripe_md **ea, struct obd_trans_info *oti);
 
 /* mds/handler.c */
diff --git a/lustre/tests/run-llog.sh b/lustre/tests/run-llog.sh
new file mode 100644 (file)
index 0000000..3c7a653
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+insmod ../obdclass/llog_test.o
+../utils/lctl modules > /r/tmp/ogdb-localhost.localdomain
+echo "NOW reload debugging syms.."
+sleep 10
+
+../utils/lctl <<EOF
+newdev
+attach llog_test llt_name llt_uuid
+setup mds1
+cleanup
+detach
+EOF
+rmmod llog_test