]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: add debug messages for export queue processing
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 9 Jun 2020 22:14:23 +0000 (15:14 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 24 Jun 2020 22:43:30 +0000 (15:43 -0700)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/MDBalancer.cc

index 0c3fa3ebaa06c2dc2accc7bddf1f893703ffe76f..57fa374b0b5a909f2fdaf4c38f6bb99616c2fc11 100644 (file)
@@ -101,13 +101,15 @@ void MDBalancer::handle_export_pins(void)
     ceph_assert(in->is_dir());
     mds_rank_t export_pin = in->get_export_pin(false);
     if (export_pin >= mds->mdsmap->get_max_mds()) {
-      dout(20) << " delay export pin on " << *in << dendl;
+      dout(20) << " delay export_pin=" << export_pin << " on " << *in << dendl;
       in->state_clear(CInode::STATE_QUEUEDEXPORTPIN);
       q.erase(cur);
 
       in->state_set(CInode::STATE_DELAYEDEXPORTPIN);
       mds->mdcache->export_pin_delayed_queue.insert(in);
       continue;
+    } else {
+      dout(20) << " executing export_pin=" << export_pin << " on " << *in << dendl;
     }
 
     bool remove = true;