From 43ce6e5d184459b4cc4ddb7a4deaf9dfefd948d1 Mon Sep 17 00:00:00 2001 From: Amir Hanania Date: Wed, 18 May 2016 10:36:31 -0700 Subject: [PATCH] dtest: Clean 4 printf from the middle of performance test. That may add time fot the test to be completed and reduce our performance. Signed-off-by: Amir Hanania Signed-off-by: Arlin Davis --- test/dtest/dtest.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/dtest/dtest.c b/test/dtest/dtest.c index a9f3cb2..4d12d76 100755 --- a/test/dtest/dtest.c +++ b/test/dtest/dtest.c @@ -1976,7 +1976,7 @@ done: if (server) goto rmsg; smsg: - printf("%d sending LAST msg ACK to remote\n", getpid()); + LOGPRINTF("%d sending LAST msg ACK to remote\n", getpid()); /* Send last message received ACK message back */ cookie.as_64 = 0x9999; ret = send_msg(p_rmr_snd, @@ -1996,14 +1996,14 @@ smsg: goto acked; rmsg: /* Wait for my LAST message ACK from remote side */ - printf("%d waiting for LAST msg ACK from remote\n", getpid()); + LOGPRINTF("%d waiting for LAST msg ACK from remote\n", getpid()); if (collect_event(h_dto_rcv_evd, &event, DTO_TIMEOUT, &rdma_wr_poll_count) != DAT_SUCCESS) return (DAT_ABORT); - printf("%d LAST rdma write ACK message arrived!\n", getpid()); + LOGPRINTF("%d LAST rdma write ACK message arrived!\n", getpid()); if (event.event_number != DAT_DTO_COMPLETION_EVENT) { fprintf(stderr, "%d Error unexpected DTO event : %s\n", getpid(), DT_EventToStr(event.event_number)); @@ -2020,7 +2020,7 @@ rmsg: (int)sizeof(DAT_RMR_TRIPLET), recv_msg_index); return (DAT_ABORT); } - printf("%d LAST RDMA_WRITE ACK from remote \n", getpid()); + LOGPRINTF("%d LAST RDMA_WRITE ACK from remote \n", getpid()); if (server) goto smsg; -- 2.41.0