From e20bcb4dbb7ba717543e4b150a599684a616ffac Mon Sep 17 00:00:00 2001 From: "Christopher J. Morrone" Date: Fri, 10 Feb 2012 15:24:06 -0800 Subject: [PATCH] LU-1095 mgs: remove message from console There is no good reason for a sysadmin to see this message on the console. Most of the time this will be a fluke due to the vagarities of lnet networks (server decides client is disconnected, but client doesn't know that yet, messages arriving out of order, etc.). Signed-off-by: Christopher J. Morrone Change-Id: I0c18734f82a9c89a5e940ce4e2c602614e89ce26 Reviewed-on: http://review.whamcloud.com/2133 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin --- lustre/mgs/mgs_handler.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lustre/mgs/mgs_handler.c b/lustre/mgs/mgs_handler.c index d9f0542..e4f6f06 100644 --- a/lustre/mgs/mgs_handler.c +++ b/lustre/mgs/mgs_handler.c @@ -815,8 +815,7 @@ int mgs_handle(struct ptlrpc_request *req) if (opc != MGS_CONNECT) { if (!class_connected_export(req->rq_export)) { - CERROR("lustre_mgs: operation %d on unconnected MGS\n", - opc); + DEBUG_REQ(D_MGS, req, "operation on unconnected MGS\n"); req->rq_status = -ENOTCONN; GOTO(out, rc = -ENOTCONN); } -- 1.8.3.1