@@ -111,8 +111,12 @@
"compact_obdo",
"second_flags",
/* flags2 names */
- "file_secctx",
- "lockaheadv2",
+ "file_secctx", /* 0x01 */
+ "lockaheadv2", /* 0x02 */
+ "dir_migrate", /* 0x04 */
+ "unknown", /* 0x08 */
+ "unknown", /* 0x10 */
+ "flr", /* 0x20 */
NULL
};
@@ -1111,6 +1111,10 @@ void lustre_assert_wire_constants(void)
OBD_CONNECT2_FILE_SECCTX);
LASSERTF(OBD_CONNECT2_LOCKAHEAD == 0x2ULL, "found 0x%.16llxULL\n",
OBD_CONNECT2_LOCKAHEAD);
+ LASSERTF(OBD_CONNECT2_DIR_MIGRATE == 0x4ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_DIR_MIGRATE);
+ LASSERTF(OBD_CONNECT2_FLR == 0x20ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_FLR);
LASSERTF(OBD_CKSUM_CRC32 == 0x00000001UL, "found 0x%.8xUL\n",
(unsigned int)OBD_CKSUM_CRC32);
LASSERTF(OBD_CKSUM_ADLER == 0x00000002UL, "found 0x%.8xUL\n",
@@ -791,6 +791,8 @@ struct ptlrpc_body_v2 {
#define OBD_CONNECT2_LOCKAHEAD 0x2ULL /* ladvise lockahead
* v2
*/
+#define OBD_CONNECT2_DIR_MIGRATE 0x4ULL /* migrate striped dir
+ */
#define OBD_CONNECT2_FLR 0x20ULL /* FLR support */
/* XXX README XXX: