@@ -189,6 +189,8 @@
#define OBD_FAIL_MDS_SWAP_LAYOUTS_NET 0x14f
#define OBD_FAIL_MDS_HSM_ACTION_NET 0x150
#define OBD_FAIL_MDS_CHANGELOG_INIT 0x151
+#define OBD_FAIL_MDS_REINT_MULTI_NET 0x159
+#define OBD_FAIL_MDS_REINT_MULTI_NET_REP 0x15a
/* layout lock */
#define OBD_FAIL_MDS_NO_LL_GETATTR 0x170
@@ -689,6 +689,9 @@ int target_pack_pool_reply(struct ptlrpc_request *req)
DEBUG_REQ(D_ERROR, req, "dropping reply");
return -ECOMM;
}
+ if (unlikely(lustre_msg_get_opc(req->rq_reqmsg) == MDS_REINT &&
+ OBD_FAIL_CHECK(OBD_FAIL_MDS_REINT_MULTI_NET_REP)))
+ return -ECOMM;
if (unlikely(rc)) {
DEBUG_REQ(D_NET, req, "processing error (%d)", rc);