]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crush/CrushWrapper: fix adjust_subtree_weight debug 5374/head
authorSage Weil <sage@redhat.com>
Mon, 8 Jun 2015 00:05:58 +0000 (20:05 -0400)
committerLoic Dachary <ldachary@redhat.com>
Tue, 28 Jul 2015 13:15:17 +0000 (15:15 +0200)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 26be86f649a1e9846280204fe1e3f8344eb975ce)

src/crush/CrushWrapper.cc

index 7ef83e37c67d806a34acf65834702da6d2eb184c..8a9756b6ad64db14de44410294c899f9b9cf598b 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);