/* Sleep N jiffies for each schedule. */
__u32 ml_sleep_jif;
__u16 ml_version;
+ unsigned int ml_paused:1; /* The lfsck is paused. */
};
struct mdd_device {
int mdd_data_get(const struct lu_env *env, struct mdd_object *obj, void **data);
int mdd_la_get(const struct lu_env *env, struct mdd_object *obj,
struct lu_attr *la, struct lustre_capa *capa);
+int mdd_attr_get(const struct lu_env *env, struct md_object *obj,
+ struct md_attr *ma);
+int mdd_attr_set(const struct lu_env *env, struct md_object *obj,
+ const struct md_attr *ma);
int mdd_attr_set_internal(const struct lu_env *env,
struct mdd_object *obj,
struct lu_attr *attr,
int mdd_changelog_llog_write(struct mdd_device *mdd,
struct llog_changelog_rec *rec,
struct thandle *handle);
-int mdd_changelog_llog_cancel(struct mdd_device *mdd, long long endrec);
+int mdd_changelog_ext_llog_write(struct mdd_device *mdd,
+ struct llog_changelog_ext_rec *rec,
+ struct thandle *handle);
+int mdd_changelog_llog_cancel(const struct lu_env *env, struct mdd_device *mdd,
+ long long endrec);
int mdd_changelog_write_header(struct mdd_device *mdd, int markerflags);
int mdd_changelog_on(struct mdd_device *mdd, int on);