Whamcloud - gitweb
LU-8472 scrub: try to avoid recovery during OI scrub
[fs/lustre-release.git] / lustre / target / tgt_internal.h
index ace6af9..8d2fc37 100644 (file)
@@ -21,7 +21,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright (c) 2012, 2014, Intel Corporation.
+ * Copyright (c) 2012, 2015, Intel Corporation.
  */
 /*
  * lustre/target/tgt_internal.h
@@ -83,6 +83,7 @@ struct tgt_thread_info {
                        int                        tti_update_reply_index;
                        struct obdo                tti_obdo;
                        struct dt_object           *tti_dt_object;
+                       struct l_wait_info tti_wait_info;
                } update;
        } tti_u;
        struct lfsck_request tti_lr;
@@ -286,4 +287,6 @@ int sub_thandle_trans_create(const struct lu_env *env,
 void distribute_txn_insert_by_batchid(struct top_multiple_thandle *new);
 int top_trans_create_tmt(const struct lu_env *env,
                         struct top_thandle *top_th);
+
+void tgt_cancel_slc_locks(__u64 transno);
 #endif /* _TG_INTERNAL_H */