Whamcloud - gitweb
LU-5099 api: transfer object type via dt_insert API
[fs/lustre-release.git] / lustre / obdclass / llog_internal.h
index 2d9f600..6eec20b 100644 (file)
@@ -27,7 +27,7 @@
  * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2012, Intel Corporation.
+ * Copyright (c) 2012, 2013, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -56,8 +56,8 @@ struct llog_thread_info {
        struct dt_object_format          lgi_dof;
        struct lu_buf                    lgi_buf;
        loff_t                           lgi_off;
-       struct llog_rec_hdr              lgi_lrh;
-       struct llog_rec_tail             lgi_tail;
+       struct llog_logid_rec            lgi_logid;
+       struct dt_insert_rec             lgi_dt_rec;
 };
 
 extern struct lu_context_key llog_thread_key;
@@ -89,7 +89,7 @@ int llog_cat_id2handle(const struct lu_env *env, struct llog_handle *cathandle,
 int class_config_dump_handler(const struct lu_env *env,
                              struct llog_handle *handle,
                              struct llog_rec_hdr *rec, void *data);
-int class_config_parse_rec(struct llog_rec_hdr *rec, char *buf, int size);
+int class_config_yaml_output(struct llog_rec_hdr *rec, char *buf, int size);
 int llog_process_or_fork(const struct lu_env *env,
                         struct llog_handle *loghandle,
                         llog_cb_t cb, void *data, void *catdata, bool fork);