From 3283170eeb05eb701197d981fa773b86f63c8a33 Mon Sep 17 00:00:00 2001 From: Sebastien Buisson Date: Tue, 30 May 2017 17:39:49 -0400 Subject: [PATCH] LU-7760 ptlrpc: remove incorrect pid printing Remove incorrect pid printing in ptlrpc_send_new_req(). It was always printing 0, and current pid is part of the message header anyway. Signed-off-by: Sebastien Buisson Change-Id: Ia786bc108c4fecb87d5cb16dab88253dc16ce28c Reviewed-on: https://review.whamcloud.com/27336 Reviewed-by: Andreas Dilger Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Fan Yong --- lustre/ptlrpc/client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 63a23d8..bac3301 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -1557,8 +1557,7 @@ static int ptlrpc_send_new_req(struct ptlrpc_request *req) req->rq_waiting = 1; spin_unlock(&req->rq_lock); - DEBUG_REQ(D_HA, req, "req from PID %d waiting for recovery: " - "(%s != %s)", lustre_msg_get_status(req->rq_reqmsg), + DEBUG_REQ(D_HA, req, "req waiting for recovery: (%s != %s)", ptlrpc_import_state_name(req->rq_send_state), ptlrpc_import_state_name(imp->imp_state)); LASSERT(list_empty(&req->rq_list)); -- 1.8.3.1