From 4a982e8193d8c6be054d9a5cd2d4f25f3af935e1 Mon Sep 17 00:00:00 2001 From: tianzy <tianzy> Date: Tue, 25 Nov 2008 05:52:30 +0000 Subject: [PATCH] Branch HEAD 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 b39e1c5b90..bc49e4b836 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -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; -- GitLab