From: Rishabh Dave Date: Tue, 16 Sep 2025 14:18:19 +0000 (+0530) Subject: mds: fix few log entries X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=88a90235b14c545e1ddc053e06cdcccf9ffc7312;p=ceph-ci.git mds: fix few log entries Signed-off-by: Rishabh Dave --- diff --git a/src/mds/MDSAuthCaps.cc b/src/mds/MDSAuthCaps.cc index 47bbebc062e..719b3be898f 100644 --- a/src/mds/MDSAuthCaps.cc +++ b/src/mds/MDSAuthCaps.cc @@ -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 diff --git a/src/mds/Server.cc b/src/mds/Server.cc index c7b1e0b8e55..141ef2a8846 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -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; }