]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crush/CrushWrapper: fix adjust_subtree_weight debug 4876/head
authorSage Weil <sage@redhat.com>
Mon, 8 Jun 2015 00:05:58 +0000 (20:05 -0400)
committerSage Weil <sage@redhat.com>
Mon, 8 Jun 2015 00:06:36 +0000 (20:06 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/crush/CrushWrapper.cc

index 3d7440b4648cd9da58cdb3cfccf57bda02da3ded..464178508498f29f695a84bf5c4714e0011cf495 100644 (file)
@@ -832,7 +832,7 @@ int CrushWrapper::adjust_item_weight_in_loc(CephContext *cct, int id, int weight
 
 int CrushWrapper::adjust_subtree_weight(CephContext *cct, int id, int weight)
 {
-  ldout(cct, 5) << "adjust_item_weight " << id << " weight " << weight << dendl;
+  ldout(cct, 5) << __func__ << " " << id << " weight " << weight << dendl;
   crush_bucket *b = get_bucket(id);
   if (IS_ERR(b))
     return PTR_ERR(b);