]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/async/rdma: fix log line spacing 13263/head
authorAdir Lev <adirl@mellanox.com>
Thu, 2 Feb 2017 08:53:08 +0000 (10:53 +0200)
committerAdir Lev <adirl@mellanox.com>
Thu, 2 Feb 2017 08:53:08 +0000 (10:53 +0200)
issue: none

Change-Id: Ieef3284ee673f012331d21fffcb499e22473f62a
Signed-off-by: Adir Lev <adirl@mellanox.com>
src/msg/async/rdma/Infiniband.cc

index 8e6418e2721d8ddc313a62c477dc66e6b1811c9d..f66bcaddd67f9bdbb22816cac48955282c0ee0fb 100644 (file)
@@ -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;