Whamcloud - gitweb
LU-3536 lod: write updates to update log
[fs/lustre-release.git] / lustre / include / lustre_log.h
index d10a30b..52bc7be 100644 (file)
@@ -312,6 +312,7 @@ struct llog_handle {
 
 /* llog_osd.c */
 extern struct llog_operations llog_osd_ops;
+extern struct llog_operations llog_common_cat_ops;
 int llog_osd_get_cat_list(const struct lu_env *env, struct dt_device *d,
                          int idx, int count, struct llog_catid *idarray,
                          const struct lu_fid *fid);
@@ -322,6 +323,10 @@ int llog_osd_put_cat_list(const struct lu_env *env, struct dt_device *d,
 #define LLOG_CTXT_FLAG_UNINITIALIZED     0x00000001
 #define LLOG_CTXT_FLAG_STOP             0x00000002
 
+/* Indicate the llog objects under this context are normal FID objects,
+ * instead of objects with local FID. */
+#define LLOG_CTXT_FLAG_NORMAL_FID       0x00000004
+
 struct llog_ctxt {
         int                      loc_idx; /* my index the obd array of ctxt's */
         struct obd_device       *loc_obd; /* points back to the containing obd*/