@@ -117,6 +117,7 @@
"unknown", /* 0x08 */
"unknown", /* 0x10 */
"flr", /* 0x20 */
+ "wbc", /* 0x40 */
NULL
};
@@ -1115,6 +1115,8 @@ void lustre_assert_wire_constants(void)
OBD_CONNECT2_DIR_MIGRATE);
LASSERTF(OBD_CONNECT2_FLR == 0x20ULL, "found 0x%.16llxULL\n",
OBD_CONNECT2_FLR);
+ LASSERTF(OBD_CONNECT2_WBC_INTENTS == 0x40ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_WBC_INTENTS);
LASSERTF(OBD_CKSUM_CRC32 == 0x00000001UL, "found 0x%.8xUL\n",
(unsigned int)OBD_CKSUM_CRC32);
LASSERTF(OBD_CKSUM_ADLER == 0x00000002UL, "found 0x%.8xUL\n",
@@ -794,6 +794,11 @@ struct ptlrpc_body_v2 {
#define OBD_CONNECT2_DIR_MIGRATE 0x4ULL /* migrate striped dir
*/
#define OBD_CONNECT2_FLR 0x20ULL /* FLR support */
+#define OBD_CONNECT2_WBC_INTENTS 0x40ULL /* create/unlink/... intents
+ * for wbc, also operations
+ * under client-held parent
+ * locks
+ */
/* XXX README XXX:
* Please DO NOT add flag values here before first ensuring that this same