Whamcloud - gitweb
LU-5519 lfsck: repair bad name hash for striped directory
[fs/lustre-release.git] / lustre / include / lustre / lustre_idl.h
index 8ca9fc8..9d4663a 100644 (file)
@@ -2755,6 +2755,7 @@ struct lmv_mds_md_v1 {
 
 #define LMV_HASH_FLAG_MIGRATION        0x80000000
 #define LMV_HASH_FLAG_DEAD     0x40000000
+#define LMV_HASH_FLAG_BAD_TYPE 0x20000000
 
 /**
  * The FNV-1a hash algorithm is as follows:
@@ -3599,6 +3600,7 @@ enum lfsck_events {
 enum lfsck_event_flags {
        LEF_TO_OST              = 0x00000001,
        LEF_FROM_OST            = 0x00000002,
+       LEF_SET_LMV_HASH        = 0x00000004,
 };
 
 static inline void lustre_set_wire_obdo(const struct obd_connect_data *ocd,