]> git.apps.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>
Tue, 23 Sep 2025 06:06:22 +0000 (11:36 +0530)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/mds/MDSAuthCaps.cc
src/mds/Server.cc

index 47bbebc062e0e9404d960e608a00ebf1a4d8b1b8..719b3be898fcaa34fa13da02c81a172f440bd53b 100644 (file)
@@ -237,7 +237,7 @@ bool MDSAuthCaps::is_capable(string_view fs_name,
                             const entity_addr_t& addr,
                             string_view trimmed_inode_path) const
 {
-  ldout(g_ceph_context, 10) << __func__ << "fs_name " << fs_name
+  ldout(g_ceph_context, 10) << __func__ << " fs_name " << fs_name
                 << " inode(path /" << trimmed_inode_path
                 << " owner " << inode_uid << ":" << inode_gid
                 << " mode 0" << std::oct << inode_mode << std::dec
index c7b1e0b8e55329666a2b390a8f259e4eda05de4c..141ef2a88469296f5e6b3020c91ee5c8e515813c 100644 (file)
@@ -9226,7 +9226,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())
@@ -9239,7 +9239,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;
       }