Whamcloud - gitweb
LU-1095 mgs: remove message from console
authorChristopher J. Morrone <morrone2@llnl.gov>
Fri, 10 Feb 2012 23:24:06 +0000 (15:24 -0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 16 Feb 2012 17:13:01 +0000 (12:13 -0500)
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 <morrone2@llnl.gov>
Change-Id: I0c18734f82a9c89a5e940ce4e2c602614e89ce26
Reviewed-on: http://review.whamcloud.com/2133
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mgs/mgs_handler.c

index d9f0542..e4f6f06 100644 (file)
@@ -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);
                 }