nvmf: Remove sge log messages. The mappings are static now.

The mappings are all static, so it isn't interesting
to print them out on each I/O.

Change-Id: I85301b4518d4523a7c031f6ca9ff678d91428504
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
Ben Walker 2017-03-10 13:13:32 -07:00
parent 5c36cd7481
commit 75990199ae

View File

@ -378,15 +378,6 @@ spdk_nvmf_rdma_conn_create(struct rdma_cm_id *id, struct ibv_comp_channel *chann
return rdma_conn;
}
static inline void
nvmf_trace_ibv_sge(struct ibv_sge *sg_list)
{
if (sg_list) {
SPDK_TRACELOG(SPDK_TRACE_RDMA, "local addr %p length 0x%x lkey 0x%x\n",
(void *)sg_list->addr, sg_list->length, sg_list->lkey);
}
}
static inline void
nvmf_ibv_send_wr_set_rkey(struct ibv_send_wr *wr, struct spdk_nvmf_request *req)
{
@ -421,7 +412,6 @@ nvmf_post_rdma_read(struct spdk_nvmf_request *req)
rdma_req->data.sgl[0].lkey = rdma_conn->bufs_mr->lkey;
}
rdma_req->data.sgl[0].length = req->length;
nvmf_trace_ibv_sge(&rdma_req->data.sgl[0]);
rdma_req->data.wr.opcode = IBV_WR_RDMA_READ;
@ -456,7 +446,6 @@ nvmf_post_rdma_write(struct spdk_nvmf_request *req)
rdma_req->data.sgl[0].lkey = rdma_conn->bufs_mr->lkey;
}
rdma_req->data.sgl[0].length = req->length;
nvmf_trace_ibv_sge(&rdma_req->data.sgl[0]);
rdma_req->data.wr.opcode = IBV_WR_RDMA_WRITE;
@ -482,9 +471,6 @@ nvmf_post_rdma_recv(struct spdk_nvmf_request *req)
SPDK_TRACELOG(SPDK_TRACE_RDMA, "RDMA RECV POSTED. Request: %p Connection: %p\n", req, conn);
nvmf_trace_ibv_sge(&rdma_req->cmd.sgl[0]);
nvmf_trace_ibv_sge(&rdma_req->cmd.sgl[1]);
rc = ibv_post_recv(rdma_conn->cm_id->qp, &rdma_req->cmd.wr, &bad_wr);
if (rc) {
SPDK_ERRLOG("Failure posting rdma recv, rc = 0x%x\n", rc);
@ -504,8 +490,6 @@ nvmf_post_rdma_send(struct spdk_nvmf_request *req)
SPDK_TRACELOG(SPDK_TRACE_RDMA, "RDMA SEND POSTED. Request: %p Connection: %p\n", req, conn);
nvmf_trace_ibv_sge(&rdma_req->rsp.sgl[0]);
spdk_trace_record(TRACE_NVMF_IO_COMPLETE, 0, 0, (uintptr_t)req, 0);
rc = ibv_post_send(rdma_conn->cm_id->qp, &rdma_req->rsp.wr, &bad_wr);
if (rc) {