From 8ffbc6060e823e909dc97e0cb1c2ca3b1cdf1a5d Mon Sep 17 00:00:00 2001
From: tianzy <tianzy>
Date: Tue, 25 Nov 2008 05:52:22 +0000
Subject: [PATCH] Branch b1_6 change target_handle_dqacq_callback() error
 handling b=16890 i=johann i=panda

---
 lustre/ldlm/ldlm_lib.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c
index 23f0aba9c3..dd8147bbc5 100644
--- a/lustre/ldlm/ldlm_lib.c
+++ b/lustre/ldlm/ldlm_lib.c
@@ -1803,8 +1803,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;
-- 
GitLab