Whamcloud - gitweb
don't resend llog cancels,
authorshadow <shadow>
Wed, 3 Dec 2008 04:21:36 +0000 (04:21 +0000)
committershadow <shadow>
Wed, 3 Dec 2008 04:21:36 +0000 (04:21 +0000)
fix resend requests for ldlm imports.

Branch b1_8_gate
b=17695
i=umka
i=tappro

lustre/ptlrpc/niobuf.c

index 427907d..6207437 100644 (file)
@@ -523,6 +523,9 @@ int ptl_send_rpc(struct ptlrpc_request *request, int noreply)
         lustre_msghdr_set_flags(request->rq_reqmsg,
                                 request->rq_import->imp_msghdr_flags);
 
+        if (request->rq_resend)
+                lustre_msg_add_flags(request->rq_reqmsg, MSG_RESENT);
+
         if (!noreply) {
                 LASSERT (request->rq_replen != 0);
                 if (request->rq_repbuf == NULL)