From f752e8fbf4edbb4d4adbf1d160199f63b8c1d13d Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Tue, 16 Sep 2025 19:48:19 +0530 Subject: [PATCH] mds: fix few log entries Signed-off-by: Rishabh Dave --- src/mds/MDSAuthCaps.cc | 2 +- src/mds/Server.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mds/MDSAuthCaps.cc b/src/mds/MDSAuthCaps.cc index f3e6f59d3b8..507d9c26cd7 100644 --- a/src/mds/MDSAuthCaps.cc +++ b/src/mds/MDSAuthCaps.cc @@ -236,7 +236,7 @@ bool MDSAuthCaps::is_capable(string_view fs_name, uid_t new_uid, gid_t new_gid, const entity_addr_t& addr) const { - ldout(g_ceph_context, 10) << __func__ << "fs_name " << fs_name << " inode(path /" << inode_path + ldout(g_ceph_context, 10) << __func__ << " fs_name " << fs_name << " inode(path /" << inode_path << " owner " << inode_uid << ":" << inode_gid << " mode 0" << std::oct << inode_mode << std::dec << ") by caller " << caller_uid << ":" << caller_gid diff --git a/src/mds/Server.cc b/src/mds/Server.cc index fdfd5d3e08a..336c7cee15a 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; } -- 2.39.5