From: Avner BenHanoch Date: Tue, 6 Dec 2016 09:30:18 +0000 (+0000) Subject: msg/async/rdma: change log level: 0 -> 1 X-Git-Tag: v11.1.0~54^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F12334%2Fhead;p=ceph.git 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 --- 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