X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftarget%2Ftgt_internal.h;h=8d2fc37aaf409d01c022b34fe84bf1e1d38d664d;hb=2366ba2b6f8ac2a6eeff796e89f1df9ce7ac546e;hp=4644404b6cc681b72d369d35642ff56fac58ceb0;hpb=28638e84cde481d0216ffc1d170e272bc2cccc76;p=fs%2Flustre-release.git diff --git a/lustre/target/tgt_internal.h b/lustre/target/tgt_internal.h index 4644404..8d2fc37 100644 --- a/lustre/target/tgt_internal.h +++ b/lustre/target/tgt_internal.h @@ -21,7 +21,7 @@ * GPL HEADER END */ /* - * Copyright (c) 2012, 2014, Intel Corporation. + * Copyright (c) 2012, 2015, Intel Corporation. */ /* * lustre/target/tgt_internal.h @@ -77,18 +77,13 @@ struct tgt_thread_info { struct l_wait_info tti_wait_info; } rdpg; struct { - /* for out_read() */ - struct lu_rdbuf tti_rdbuf; - /* for tgt_sendpage() */ - struct l_wait_info tti_wait_info; - } rdbuf; - struct { struct dt_object_format tti_update_dof; struct object_update_reply *tti_update_reply; struct object_update *tti_update; 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; @@ -292,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 */