X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftarget%2Ftgt_internal.h;h=5374abcd1b787a6a7245521a54d1417bf0e71814;hb=e02cb40761ff8aae3df76c4210a345420b6d4ba1;hp=bc9cbbc3f49e9c6467a85251dbac9ae3d3feecc1;hpb=ef25ecdd8574a5932fe970f6b58e8d0c458d7e9e;p=fs%2Flustre-release.git diff --git a/lustre/target/tgt_internal.h b/lustre/target/tgt_internal.h index bc9cbbc..5374abc 100644 --- a/lustre/target/tgt_internal.h +++ b/lustre/target/tgt_internal.h @@ -21,7 +21,7 @@ * GPL HEADER END */ /* - * Copyright (c) 2012, 2016, Intel Corporation. + * Copyright (c) 2012, 2017, Intel Corporation. */ /* * lustre/target/tgt_internal.h @@ -35,7 +35,6 @@ #define _TG_INTERNAL_H #include -#include #include #include #include @@ -43,10 +42,10 @@ #include #include -extern int (*tgt_lfsck_in_notify)(const struct lu_env *env, - struct dt_device *key, - struct lfsck_request *lr, - struct thandle *th); +extern int (*tgt_lfsck_in_notify_local)(const struct lu_env *env, + struct dt_device *key, + struct lfsck_req_local *lrl, + struct thandle *th); /** * Common data shared by tg-level handlers. This is allocated per-thread to * reduce stack consumption. @@ -85,8 +84,9 @@ struct tgt_thread_info { 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; - struct lfsck_request tti_lr; + struct lfsck_req_local tti_lrl; struct dt_insert_rec tti_rec; };