]> 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>
Mon, 18 Sep 2023 02:20:48 +0000 (10:20 +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 61058ec17fcda92707f7e533c4ff5154060cae9f..3b3fbc2aab42748bba65cc9137a7c802f66b09b9 100644 (file)
@@ -11349,11 +11349,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);
-
     }
   }