Whamcloud - gitweb
LU-17744 ldiskfs: mballoc stats fixes
[fs/lustre-release.git] / lustre / target / tgt_internal.h
index ac7c3c1..ed45f82 100644 (file)
@@ -63,8 +63,6 @@ struct tgt_thread_info {
 
        /* transno storage during last_rcvd update */
        __u64                    tti_transno;
-       __u32                    tti_has_trans:1,
-                                tti_mult_trans:1;
 
        /* Updates data for OUT target */
        struct thandle_exec_args tti_tea;
@@ -72,8 +70,6 @@ struct tgt_thread_info {
                struct {
                        /* for tgt_readpage()      */
                        struct lu_rdpg     tti_rdpg;
-                       /* for tgt_sendpage()      */
-                       struct l_wait_info tti_wait_info;
                } rdpg;
                struct {
                        struct dt_object_format    tti_update_dof;
@@ -82,7 +78,6 @@ 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;
                struct obd_statfs osfs; /* for obd_statfs() in OFD/MDT */
        } tti_u;
@@ -244,7 +239,7 @@ int tgt_txn_start_cb(const struct lu_env *env, struct thandle *th,
 int tgt_txn_stop_cb(const struct lu_env *env, struct thandle *th,
                    void *cookie);
 int tgt_handle_received_xid(struct obd_export *exp, __u64 rcvd_xid);
-int tgt_handle_tag(struct obd_export *exp, __u16 tag);
+int tgt_handle_tag(struct ptlrpc_request *req);
 
 void update_records_dump(const struct update_records *records,
                         unsigned int mask, bool dump_updates);
@@ -285,6 +280,8 @@ int top_trans_create_tmt(const struct lu_env *env,
                         struct top_thandle *top_th);
 
 void tgt_cancel_slc_locks(struct lu_target *tgt, __u64 transno);
+int lustre_tgt_register_fs(void);
+void lustre_tgt_unregister_fs(void);
 void barrier_init(void);
 void barrier_fini(void);