Whamcloud - gitweb
LU-3059 obdclass: use a dummy structure for lu_ref_link
[fs/lustre-release.git] / lustre / include / lustre / lustre_lfsck_user.h
index f56e3f7..8daa152 100644 (file)
@@ -20,7 +20,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright (c) 2012, Intel Corporation.
+ * Copyright (c) 2012, 2013, Intel Corporation.
  */
 /*
  * lustre/include/lustre/lustre_lfsck_user.h
@@ -50,12 +50,17 @@ enum lfsck_type {
 
        /* For MDT-MDT consistency check/repair. */
        LT_DNE          = 0x0002,
+
+       /* For FID-in-dirent and linkEA consistency check/repair. */
+       LT_NAMESPACE    = 0x0004,
 };
 
 #define LFSCK_VERSION_V1       1
+#define LFSCK_VERSION_V2       2
 
 #define LFSCK_TYPES_ALL        ((__u16)(~0))
 #define LFSCK_TYPES_DEF        ((__u16)0)
+#define LFSCK_TYPES_SUPPORTED  LT_NAMESPACE
 
 #define LFSCK_SPEED_NO_LIMIT   0
 #define LFSCK_SPEED_LIMIT_DEF  LFSCK_SPEED_NO_LIMIT