]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds: fix few log entries
authorRishabh Dave <ridave@redhat.com>
Tue, 16 Sep 2025 14:18:19 +0000 (19:48 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 16 Oct 2025 06:09:26 +0000 (11:39 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit e4c301b9f0204b6a82490a68ec4c3a26db7b013f)

Conflicts:
src/mds/MDSAuthCaps.cc
- is_capable()'s log message is slightly different in Squid branch
  leading to conflict.

src/mds/Server.cc

index d04d540d8f23b3d61260c653a6d20602d6cdbf8e..80903222c40c36949aa99800cc164e73cd68b75a 100644 (file)
@@ -8886,7 +8886,7 @@ void Server::_rmdir_rollback_finish(const MDRequestRef& mdr, metareqid_t reqid,
  */
 bool Server::_dir_is_nonempty_unlocked(const MDRequestRef& mdr, CInode *in)
 {
-  dout(10) << "dir_is_nonempty_unlocked " << *in << dendl;
+  dout(10) << __func__ << " " << *in << dendl;
   ceph_assert(in->is_auth());
 
   if (in->filelock.is_cached())
@@ -8899,7 +8899,7 @@ bool Server::_dir_is_nonempty_unlocked(const MDRequestRef& mdr, CInode *in)
     // is the frag obviously non-empty?
     if (dir->is_auth()) {
       if (dir->get_projected_fnode()->fragstat.size()) {
-       dout(10) << "dir_is_nonempty_unlocked dirstat has " 
+       dout(10) << __func__ << " dirstat has "
                 << dir->get_projected_fnode()->fragstat.size() << " items " << *dir << dendl;
        return true;
       }