Whamcloud - gitweb
LU-1996 lustre: Flexible changelog format.
[fs/lustre-release.git] / lustre / include / lustre / lustre_lfsck_user.h
index e116e07..a740534 100644 (file)
@@ -50,11 +50,14 @@ enum lfsck_param_flags {
        /* Broadcast the command to other MDTs. Only valid on the sponsor MDT */
        LPF_BROADCAST           = 0x0010,
 
-       /* Handle orphan objects. */
-       LPF_ORPHAN              = 0x0020,
+       /* Handle orphan OST-objects. */
+       LPF_OST_ORPHAN          = 0x0020,
 
        /* Create OST-object for dangling LOV EA. */
        LPF_CREATE_OSTOBJ       = 0x0040,
+
+       /* Create MDT-object for dangling name entry. */
+       LPF_CREATE_MDTOBJ       = 0x0080,
 };
 
 enum lfsck_type {
@@ -64,9 +67,6 @@ enum lfsck_type {
        /* For MDT-OST (layout, object) consistency check/repair. */
        LFSCK_TYPE_LAYOUT       = 0x0001,
 
-       /* For MDT-MDT (remote object) consistency check/repair. */
-       LFSCK_TYPE_DNE          = 0x0002,
-
        /* For MDT (FID-in-dirent, linkEA) consistency check/repair. */
        LFSCK_TYPE_NAMESPACE    = 0x0004,
        LFSCK_TYPES_SUPPORTED   = (LFSCK_TYPE_SCRUB | LFSCK_TYPE_LAYOUT |
@@ -89,6 +89,7 @@ enum lfsck_start_valid {
        LSV_DRYRUN              = 0x00000004,
        LSV_ASYNC_WINDOWS       = 0x00000008,
        LSV_CREATE_OSTOBJ       = 0x00000010,
+       LSV_CREATE_MDTOBJ       = 0x00000020,
 };
 
 /* Arguments for starting lfsck. */