From: phil Date: Thu, 7 Aug 2003 18:14:02 +0000 (+0000) Subject: b=1505 X-Git-Tag: v1_7_0_51~2^7~712 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=9a9f7623ccf3f5c142ef08f229ef115efe60f575;p=fs%2Flustre-release.git b=1505 r=shaver - Remove confusing and uninteresting "lustre_commitd quitting" message - downgrade the -ENOTCONN "processing error" message to D_HA from D_ERROR --- 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;