]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "mds: notify the waiters in replica MDSs"
authorXiubo Li <xiubli@redhat.com>
Wed, 30 Aug 2023 04:55:10 +0000 (12:55 +0800)
committerXiubo Li <xiubli@redhat.com>
Mon, 18 Sep 2023 02:06:09 +0000 (10:06 +0800)
This reverts commit 478db14a658c39ecbfa107923d9ad44bfdd89368.

Fixes: https://tracker.ceph.com/issues/61818
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 84c7da723b5e25fa71a622869c433891432bd312)

src/mds/MDCache.cc

index 48f29e85c291e5ee0134f062ff3ce4fb854250db..d271bceaab8de271868ea692589b622cc94a71bf 100644 (file)
@@ -11173,11 +11173,6 @@ void MDCache::handle_dentry_unlink(const cref_t<MDentryUnlink> &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);
-
     }
   }