From 9a9f7623ccf3f5c142ef08f229ef115efe60f575 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 7 Aug 2003 18:14:02 +0000 Subject: [PATCH] b=1505 r=shaver - Remove confusing and uninteresting "lustre_commitd quitting" message - downgrade the -ENOTCONN "processing error" message to D_HA from D_ERROR --- lustre/ldlm/ldlm_lib.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index 55a00d2..c2d500f 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -823,12 +823,15 @@ void target_send_reply(struct ptlrpc_request *req, int rc, int fail_id) } if (!OBD_FAIL_CHECK(fail_id | OBD_FAIL_ONCE)) { - if (rc) { - DEBUG_REQ(D_ERROR, req, "processing error (%d)", rc); - netrc = ptlrpc_error(req); - } else { + if (rc == 0) { DEBUG_REQ(D_NET, req, "sending reply"); netrc = ptlrpc_reply(req); + } else if (rc == -ENOTCONN) { + DEBUG_REQ(D_HA, req, "processing error (%d)", rc); + netrc = ptlrpc_error(req); + } else { + DEBUG_REQ(D_ERROR, req, "processing error (%d)", rc); + netrc = ptlrpc_error(req); } } else { obd_fail_loc |= OBD_FAIL_ONCE | OBD_FAILED; -- 1.8.3.1