]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crush/CrushWrapper: update_item whitespace
authorSage Weil <sage@redhat.com>
Fri, 14 Jul 2017 19:18:36 +0000 (15:18 -0400)
committerSage Weil <sage@redhat.com>
Fri, 21 Jul 2017 17:50:53 +0000 (13:50 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/crush/CrushWrapper.cc

index 68db9ec34ef890f97949f99a1091e026c41b7f55..6e53b2fe60575e8e45549b6a6cfd2b252ccf771f 100644 (file)
@@ -1052,8 +1052,9 @@ int CrushWrapper::create_or_move_item(CephContext *cct, int item, float weight,
   return ret;
 }
 
-int CrushWrapper::update_item(CephContext *cct, int item, float weight, string name,
-                             const map<string,string>& loc)  // typename -> bucketname
+int CrushWrapper::update_item(
+  CephContext *cct, int item, float weight, string name,
+  const map<string,string>& loc)  // typename -> bucketname
 {
   ldout(cct, 5) << "update_item item " << item << " weight " << weight
                << " name " << name << " loc " << loc << dendl;
@@ -1077,12 +1078,14 @@ int CrushWrapper::update_item(CephContext *cct, int item, float weight, string n
     ldout(cct, 5) << "update_item " << item << " already at " << loc << dendl;
     if (old_iweight != iweight) {
       ldout(cct, 5) << "update_item " << item << " adjusting weight "
-                   << ((float)old_iweight/(float)0x10000) << " -> " << weight << dendl;
+                   << ((float)old_iweight/(float)0x10000) << " -> " << weight
+                   << dendl;
       adjust_item_weight_in_loc(cct, item, iweight, loc);
       ret = 1;
     }
     if (get_item_name(item) != name) {
-      ldout(cct, 5) << "update_item setting " << item << " name to " << name << dendl;
+      ldout(cct, 5) << "update_item setting " << item << " name to " << name
+                   << dendl;
       set_item_name(item, name);
       ret = 1;
     }