From: Patrick Donnelly Date: Thu, 6 Feb 2025 18:34:49 +0000 (-0500) Subject: mds: do not schedule quiesce for non-head imported inodes X-Git-Tag: v20.0.0~162^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F61680%2Fhead;p=ceph.git mds: do not schedule quiesce for non-head imported inodes Fixes: https://tracker.ceph.com/issues/69844 Signed-off-by: Patrick Donnelly --- diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index 55d68008f874..63ebe8b5366a 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -14073,7 +14073,10 @@ void MDCache::add_quiesce(CInode* parent, CInode* in) auto& qs = *qis->qs; auto& qops = qrmdr->more()->quiesce_ops; - if (auto it = qops.find(in->ino()); it != qops.end()) { + if (!in->is_head()) { + dout(25) << " skipping non-head inode: " << *in << dendl; + return; + } else if (auto it = qops.find(in->ino()); it != qops.end()) { dout(25) << __func__ << ": existing quiesce metareqid: " << it->second << dendl; return; }