Whamcloud - gitweb
LU-5977 ofd: Removed correction for bad timestamps
[fs/lustre-release.git] / lustre / include / dt_object.h
index 4b98848..ced5a8e 100644 (file)
@@ -104,7 +104,7 @@ typedef void (*dt_cb_t)(struct lu_env *env, struct thandle *th,
 #define TRANS_COMMIT_CB_MAGIC  0xa0a00a0a
 #define MAX_COMMIT_CB_STR_LEN  32
 
-#define DCB_TRANS_NOT_COMMITTED        0x1
+#define DCB_TRANS_STOP         0x1
 struct dt_txn_commit_cb {
        struct list_head        dcb_linkage;
        dt_cb_t                 dcb_func;
@@ -1825,7 +1825,9 @@ struct thandle {
        /* local transation, no need to inform other layers */
                                th_local:1,
        /* Whether we need wait the transaction to be submitted */
-                               th_wait_submit:1;
+                               th_wait_submit:1,
+       /* complex transaction which will track updates on all targets */
+                               th_complex:1;
 };
 
 /**
@@ -2638,8 +2640,6 @@ static inline int dt_lookup(const struct lu_env *env,
         return ret;
 }
 
-#define LU221_BAD_TIME (0x80000000U + 24 * 3600)
-
 struct dt_find_hint {
        struct lu_fid        *dfh_fid;
        struct dt_device     *dfh_dt;