X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_lfsck.h;h=64b0d559218973d24954f4df1e3518666bbf830c;hb=05e6ccd344e7eba44e43230fa2fa0a1b3b6115c4;hp=8dabe50b2a80634d674ecffb211230a930c17b93;hpb=db5661e8aad397317f4a0763655ffc0164956097;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_lfsck.h b/lustre/include/lustre_lfsck.h index 8dabe50..64b0d559 100644 --- a/lustre/include/lustre_lfsck.h +++ b/lustre/include/lustre_lfsck.h @@ -20,7 +20,7 @@ * GPL HEADER END */ /* - * Copyright (c) 2013, 2016, Intel Corporation. + * Copyright (c) 2013, 2017, Intel Corporation. */ /* * lustre/include/lustre_lfsck.h @@ -33,7 +33,7 @@ #ifndef _LUSTRE_LFSCK_H # define _LUSTRE_LFSCK_H -#include +#include #include #include #include @@ -67,6 +67,12 @@ struct lfsck_req_local { struct filter_fid lrl_ff_local; }; +struct lfsck_layout_dangling_key { + struct lu_fid lldk_fid; + __u32 lldk_comp_id; + __u32 lldk_ea_off; +}; + typedef int (*lfsck_out_notify)(const struct lu_env *env, void *data, enum lfsck_events event); @@ -95,10 +101,10 @@ int lfsck_query(const struct lu_env *env, struct dt_device *key, struct lfsck_request *req, struct lfsck_reply *rep, struct lfsck_query *que); -int lfsck_get_speed(struct seq_file *m, struct dt_device *key); +int lfsck_get_speed(char *buf, struct dt_device *key); int lfsck_set_speed(struct dt_device *key, __u32 val); -int lfsck_get_windows(struct seq_file *m, struct dt_device *key); -int lfsck_set_windows(struct dt_device *key, int val); +int lfsck_get_windows(char *buf, struct dt_device *key); +int lfsck_set_windows(struct dt_device *key, unsigned int val); int lfsck_dump(struct seq_file *m, struct dt_device *key, enum lfsck_type type); @@ -121,5 +127,4 @@ static inline bool lovea_slot_is_dummy(const struct lov_ost_data_v1 *obj) return false; } - #endif /* _LUSTRE_LFSCK_H */