From 0a59f0c68978fc2dcab11ec5a4b41cead47bc71c Mon Sep 17 00:00:00 2001 From: Cliff White Date: Fri, 20 Aug 2010 00:28:13 +0400 Subject: [PATCH] b=16909 Console message cleanup i=maxim.patlasov i=johann.lombardi Use D_NET for DEBUG_REQ --- lustre/ptlrpc/events.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lustre/ptlrpc/events.c b/lustre/ptlrpc/events.c index 0ce8ca8..69716b3 100644 --- a/lustre/ptlrpc/events.c +++ b/lustre/ptlrpc/events.c @@ -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); -- 1.8.3.1