From: Xiubo Li Date: Wed, 30 Aug 2023 04:55:10 +0000 (+0800) Subject: Revert "mds: notify the waiters in replica MDSs" X-Git-Tag: v16.2.15~144^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0ac5729656e28798a2651bc83af32e32fa8c97e4;p=ceph.git Revert "mds: notify the waiters in replica MDSs" This reverts commit 478db14a658c39ecbfa107923d9ad44bfdd89368. Fixes: https://tracker.ceph.com/issues/61818 Signed-off-by: Xiubo Li (cherry picked from commit 84c7da723b5e25fa71a622869c433891432bd312) --- diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index 48f29e85c291..d271bceaab8d 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -11173,11 +11173,6 @@ void MDCache::handle_dentry_unlink(const cref_t &m) } ceph_assert(dnl->is_null()); dn->state_clear(CDentry::STATE_UNLINKING); - - MDSContext::vec finished; - dn->take_waiting(CDentry::WAIT_UNLINK_FINISH, finished); - mds->queue_waiters(finished); - } }