Whamcloud - gitweb
b=16909 Console message cleanup
authorCliff White <cliff.white@oracle.com>
Thu, 19 Aug 2010 20:28:13 +0000 (00:28 +0400)
committerMikhail Pershin <tappro@sun.com>
Fri, 20 Aug 2010 11:41:56 +0000 (15:41 +0400)
i=maxim.patlasov
i=johann.lombardi

Use D_NET for DEBUG_REQ

lustre/ptlrpc/events.c

index 0ce8ca8..69716b3 100644 (file)
@@ -65,8 +65,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);
 
         sptlrpc_request_out_callback(req);
         req->rq_real_sent = cfs_time_current_sec();
@@ -97,8 +96,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);