]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: quiet unhelpful debug message
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 27 Aug 2024 17:49:42 +0000 (13:49 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 25 Sep 2024 19:42:25 +0000 (15:42 -0400)
looks like

    2024-08-15T06:08:36.056+0000 7f29379f4640 10 mds.0.journal try_to_expire waiting for purge of []

Nothing to purge!

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/journal.cc

index 40400ff4054cadba2df7cc1dd7c8984b1849ea20..3018ea99fa03544156c7414c39c551eed76768f4 100644 (file)
@@ -346,9 +346,10 @@ void LogSegment::try_to_expire(MDSRank *mds, MDSGatherBuilder &gather_bld, int o
     (*p)->add_waiter(CInode::WAIT_TRUNC, gather_bld.new_sub());
   }
   // purge inodes
-  dout(10) << "try_to_expire waiting for purge of " << purging_inodes << dendl;
-  if (purging_inodes.size())
+  if (purging_inodes.size()) {
+    dout(10) << "try_to_expire waiting for purge of " << purging_inodes << dendl;
     set_purged_cb(gather_bld.new_sub());
+  }
   
   if (gather_bld.has_subs()) {
     dout(6) << "LogSegment(" << seq << "/" << offset << ").try_to_expire waiting" << dendl;