]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Tue, 12 Sep 2023 03:10:18 +0000 (11:10 +0800)
This reverts commit 478db14a658c39ecbfa107923d9ad44bfdd89368.

Fixes: https://tracker.ceph.com/issues/61818
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/MDCache.cc

index eb91692425e5efd1cd79c6e536c505d5a7105bce..c322e7e4fd5ba2ea9abd322e024af52704c111f4 100644 (file)
@@ -11337,11 +11337,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);
-
     }
   }