X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flod%2Flod_internal.h;h=f47454139bb0fa75905057818a264a929e855047;hp=4aa2b104a12a08f1dfadfc107d2555f8cfd96cda;hb=3b0094779b58c162e5dc553f6d7cdff1910d0c3b;hpb=896e12c2e4fc98cbc15c675ec2894e9511aa92a7;ds=sidebyside diff --git a/lustre/lod/lod_internal.h b/lustre/lod/lod_internal.h index 4aa2b10..f474541 100644 --- a/lustre/lod/lod_internal.h +++ b/lustre/lod/lod_internal.h @@ -113,7 +113,7 @@ struct lod_device { struct lod_tgt_descs lod_mdt_descs; /* Recovery thread for lod_child */ - struct ptlrpc_thread lod_child_recovery_thread; + struct task_struct *lod_child_recovery_task; /* maximum EA size underlied OSD may have */ unsigned int lod_osd_max_easize; @@ -500,7 +500,7 @@ int lod_fld_lookup(const struct lu_env *env, struct lod_device *lod, int lod_sub_init_llog(const struct lu_env *env, struct lod_device *lod, struct dt_device *dt); void lod_sub_fini_llog(const struct lu_env *env, - struct dt_device *dt, struct ptlrpc_thread *thread); + struct dt_device *dt, struct task_struct **taskp); int lodname2mdt_index(char *lodname, __u32 *mdt_index); extern void target_recovery_fini(struct obd_device *obd);