Whamcloud - gitweb
b=11706
authorgreen <green>
Fri, 29 Jun 2007 04:06:24 +0000 (04:06 +0000)
committergreen <green>
Fri, 29 Jun 2007 04:06:24 +0000 (04:06 +0000)
r=eeb,adilger
do not panic if pinger set changed reply status. The only valid action
is to check if reply was actually processed.

lustre/ptlrpc/pinger.c

index 77507ca..17bb313 100644 (file)
@@ -557,7 +557,7 @@ do_check_set:
                 req = list_entry(iter, struct ptlrpc_request,
                                  rq_set_chain);
 
-                if (req->rq_replied)
+                if (req->rq_phase == RQ_PHASE_COMPLETE)
                         continue;
 
                 req->rq_phase = RQ_PHASE_COMPLETE;