From: Sage Weil Date: Fri, 14 Jul 2017 19:18:36 +0000 (-0400) Subject: crush/CrushWrapper: update_item whitespace X-Git-Tag: v12.1.2~150^2~19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c731f2889b84646142b13689604bed6e53fe6faa;p=ceph.git crush/CrushWrapper: update_item whitespace Signed-off-by: Sage Weil --- diff --git a/src/crush/CrushWrapper.cc b/src/crush/CrushWrapper.cc index 68db9ec34ef8..6e53b2fe6057 100644 --- a/src/crush/CrushWrapper.cc +++ b/src/crush/CrushWrapper.cc @@ -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& loc) // typename -> bucketname +int CrushWrapper::update_item( + CephContext *cct, int item, float weight, string name, + const map& 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; }