Whamcloud - gitweb
b=16909 Quiet LNET messages
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 18 May 2010 21:37:28 +0000 (14:37 -0700)
committerJohann Lombardi <johann@sun.com>
Wed, 19 May 2010 11:15:04 +0000 (13:15 +0200)
These messages are not as uncommon as one would like.

lustre/ptlrpc/events.c

index e624950..a89fe71 100644 (file)
@@ -62,8 +62,7 @@ void request_out_callback(lnet_event_t *ev)
                  ev->type == LNET_EVENT_UNLINK);
         LASSERT (ev->unlinked);
 
-        DEBUG_REQ((ev->status == 0) ? D_NET : D_ERROR, req,
-                  "type %d, status %d", ev->type, ev->status);
+        DEBUG_REQ(D_NET, req, "type %d, status %d", ev->type, ev->status);
 
         if (ev->type == LNET_EVENT_UNLINK || ev->status != 0) {
 
@@ -91,8 +90,7 @@ void reply_in_callback(lnet_event_t *ev)
         struct ptlrpc_request *req = cbid->cbid_arg;
         ENTRY;
 
-        DEBUG_REQ((ev->status == 0) ? D_NET : D_ERROR, req,
-                  "type %d, status %d", ev->type, ev->status);
+        DEBUG_REQ(D_NET, req, "type %d, status %d", ev->type, ev->status);
 
         LASSERT(ev->type == LNET_EVENT_PUT || ev->type == LNET_EVENT_UNLINK);
         LASSERT(ev->md.start == req->rq_repbuf);