Whamcloud - gitweb
LU-3950 lfsck: control LFSCK on all devices via single command
[fs/lustre-release.git] / lustre / lfsck / lfsck_internal.h
index 698fb5f..01d3c60 100644 (file)
@@ -312,6 +312,10 @@ struct lfsck_operations {
                                 struct lfsck_tgt_descs *ltds,
                                 struct lfsck_tgt_desc *ltd,
                                 struct ptlrpc_request_set *set);
+
+       int (*lfsck_join)(const struct lu_env *env,
+                         struct lfsck_component *com,
+                         struct lfsck_start_param *lsp);
 };
 
 #define TGT_PTRS               256     /* number of pointers at 1st level */
@@ -482,6 +486,9 @@ struct lfsck_instance {
        /* The status when the LFSCK stopped or paused. */
        __u32                     li_status;
 
+       /* The flags when the lFSCK stopped or paused. */
+       __u32                     li_flags;
+
        unsigned int              li_oit_over:1, /* oit is finished. */
                                  li_drop_dryrun:1, /* Ever dryrun, not now. */
                                  li_master:1, /* Master instance or not. */