@@ -124,7 +124,7 @@
"selinux_policy", /* 0x400 */
"lsom", /* 0x800 */
"pcc", /* 0x1000 */
- "plain_layout", /* 0x2000 */
+ "crush", /* 0x2000 */
"async_discard", /* 0x4000 */
"client_encryption", /* 0x8000 */
NULL
@@ -1158,6 +1158,8 @@ void lustre_assert_wire_constants(void)
OBD_CONNECT2_LSOM);
LASSERTF(OBD_CONNECT2_PCC == 0x1000ULL, "found 0x%.16llxULL\n",
OBD_CONNECT2_PCC);
+ LASSERTF(OBD_CONNECT2_CRUSH == 0x2000ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_CRUSH);
LASSERTF(OBD_CONNECT2_ASYNC_DISCARD == 0x4000ULL, "found 0x%.16llxULL\n",
OBD_CONNECT2_ASYNC_DISCARD);
LASSERTF(OBD_CONNECT2_ENCRYPT == 0x8000ULL, "found 0x%.16llxULL\n",
@@ -810,6 +810,8 @@ struct ptlrpc_body_v2 {
#define OBD_CONNECT2_SELINUX_POLICY 0x400ULL /* has client SELinux policy */
#define OBD_CONNECT2_LSOM 0x800ULL /* LSOM support */
#define OBD_CONNECT2_PCC 0x1000ULL /* Persistent Client Cache */
+#define OBD_CONNECT2_CRUSH 0x2000ULL /* crush hash striped directory
+ */
#define OBD_CONNECT2_ASYNC_DISCARD 0x4000ULL /* support async DoM data
* discard
*/