mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
msg/async/rdma: fix log line spacing
issue: none Change-Id: Ieef3284ee673f012331d21fffcb499e22473f62a Signed-off-by: Adir Lev <adirl@mellanox.com>
This commit is contained in:
parent
72f603d352
commit
fb9feb1c4c
@ -93,13 +93,13 @@ Port::Port(CephContext *cct, struct ibv_context* ictxt, uint8_t ipn): ctxt(ictxt
|
||||
Device::Device(CephContext *cct, ibv_device* d): device(d), device_attr(new ibv_device_attr), active_port(nullptr)
|
||||
{
|
||||
if (device == NULL) {
|
||||
lderr(cct) << __func__ << "device == NULL" << cpp_strerror(errno) << dendl;
|
||||
lderr(cct) << __func__ << " device == NULL" << cpp_strerror(errno) << dendl;
|
||||
ceph_abort();
|
||||
}
|
||||
name = ibv_get_device_name(device);
|
||||
ctxt = ibv_open_device(device);
|
||||
if (ctxt == NULL) {
|
||||
lderr(cct) << __func__ << "open rdma device failed. " << cpp_strerror(errno) << dendl;
|
||||
lderr(cct) << __func__ << " open rdma device failed. " << cpp_strerror(errno) << dendl;
|
||||
ceph_abort();
|
||||
}
|
||||
int r = ibv_query_device(ctxt, device_attr);
|
||||
@ -151,7 +151,7 @@ Infiniband::QueuePair::QueuePair(
|
||||
{
|
||||
initial_psn = lrand48() & 0xffffff;
|
||||
if (type != IBV_QPT_RC && type != IBV_QPT_UD && type != IBV_QPT_RAW_PACKET) {
|
||||
lderr(cct) << __func__ << "invalid queue pair type" << cpp_strerror(errno) << dendl;
|
||||
lderr(cct) << __func__ << " invalid queue pair type" << cpp_strerror(errno) << dendl;
|
||||
ceph_abort();
|
||||
}
|
||||
pd = infiniband.pd->pd;
|
||||
|
Loading…
Reference in New Issue
Block a user