Whamcloud - gitweb
Branch HEAD
authortianzy <tianzy>
Tue, 25 Nov 2008 05:52:30 +0000 (05:52 +0000)
committertianzy <tianzy>
Tue, 25 Nov 2008 05:52:30 +0000 (05:52 +0000)
change target_handle_dqacq_callback() error handling
b=16890
i=johann
i=panda

lustre/ldlm/ldlm_lib.c

index b39e1c5..bc49e4b 100644 (file)
@@ -2251,8 +2251,8 @@ int target_handle_dqacq_callback(struct ptlrpc_request *req)
         /* we use the observer */
         if (!obd->obd_observer || !obd->obd_observer->obd_observer) {
                 CERROR("Can't find the observer, it is recovering\n");
-                req->rq_status = -EIO;
-                GOTO(send_reply, rc = -EIO);
+                req->rq_status = -EAGAIN;
+                GOTO(send_reply, rc = -EAGAIN);
         }
 
         master_obd = obd->obd_observer->obd_observer;