From bea97422cbfe3896d53f02fa312bcb625ed6f921 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 (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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mds/Server.cc b/src/mds/Server.cc index d04d540d8f2..80903222c40 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -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; } -- 2.39.5