From 03bb8964a77c83304c398693d1c5f339fee18d7e Mon Sep 17 00:00:00 2001 From: Avner BenHanoch Date: Tue, 6 Dec 2016 09:30:18 +0000 Subject: [PATCH] msg/async/rdma: change log level: 0 -> 1 this will avoid irrelevant messages to console in case of "ceph -s" issue: 914828 Change-Id: Ia220c62ff7a9f80fbe6068e1dd9d4a9a05ed01db Signed-off-by: Avner BenHanoch --- src/msg/async/rdma/Infiniband.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/msg/async/rdma/Infiniband.cc b/src/msg/async/rdma/Infiniband.cc index 14a13cb0602f..521a19e8b8ff 100644 --- a/src/msg/async/rdma/Infiniband.cc +++ b/src/msg/async/rdma/Infiniband.cc @@ -77,17 +77,17 @@ Infiniband::Infiniband(CephContext *cct, const std::string &device_name, uint8_t max_recv_wr = device->device_attr->max_srq_wr; if (max_recv_wr > cct->_conf->ms_async_rdma_receive_buffers) { max_recv_wr = cct->_conf->ms_async_rdma_receive_buffers; - ldout(cct, 0) << __func__ << " assigning: " << max_recv_wr << " receive buffers" << dendl; + ldout(cct, 1) << __func__ << " assigning: " << max_recv_wr << " receive buffers" << dendl; } else { - ldout(cct, 0) << __func__ << " using the max allowed receive buffers: " << max_recv_wr << dendl; + ldout(cct, 1) << __func__ << " using the max allowed receive buffers: " << max_recv_wr << dendl; } max_send_wr = device->device_attr->max_qp_wr; if (max_send_wr > cct->_conf->ms_async_rdma_send_buffers) { max_send_wr = cct->_conf->ms_async_rdma_send_buffers; - ldout(cct, 0) << __func__ << " assigning: " << max_send_wr << " send buffers" << dendl; + ldout(cct, 1) << __func__ << " assigning: " << max_send_wr << " send buffers" << dendl; } else { - ldout(cct, 0) << __func__ << " using the max allowed send buffers: " << max_send_wr << dendl; + ldout(cct, 1) << __func__ << " using the max allowed send buffers: " << max_send_wr << dendl; } ldout(cct, 1) << __func__ << " device allow " << device->device_attr->max_cqe -- 2.47.3