]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crush/CrushWrapper: make update_choose_args less chatty 27119/head
authorSage Weil <sage@redhat.com>
Fri, 15 Mar 2019 12:10:41 +0000 (07:10 -0500)
committerSage Weil <sage@redhat.com>
Fri, 22 Mar 2019 10:02:47 +0000 (05:02 -0500)
These were now exposed due to cct being passed down to more
places.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit ef8b347fd0b74ca2da6d7c5cc70fa584fd3d36dc)

src/crush/CrushWrapper.cc

index 12e4ca10e3846aca7a5eb6553d9807aefc70885d..5ac5849574e39c68daa03390e7c02b956a005fdf 100644 (file)
@@ -418,16 +418,16 @@ void CrushWrapper::update_choose_args(CephContext *cct)
       if (!b || b->alg != CRUSH_BUCKET_STRAW2) {
        if (carg.ids) {
          if (cct)
-           ldout(cct,0) << __func__ << " removing " << i.first << " bucket "
-                        << (-1-j) << " ids" << dendl;
+           ldout(cct,10) << __func__ << " removing " << i.first << " bucket "
+                         << (-1-j) << " ids" << dendl;
          free(carg.ids);
          carg.ids = 0;
          carg.ids_size = 0;
        }
        if (carg.weight_set) {
          if (cct)
-           ldout(cct,0) << __func__ << " removing " << i.first << " bucket "
-                        << (-1-j) << " weight_sets" << dendl;
+           ldout(cct,10) << __func__ << " removing " << i.first << " bucket "
+                         << (-1-j) << " weight_sets" << dendl;
          for (unsigned p = 0; p < carg.weight_set_positions; ++p) {
            free(carg.weight_set[p].weights);
          }