mirror of
https://github.com/ceph/ceph
synced 2025-01-01 16:42:29 +00:00
mds: notify the waiters in replica MDSs
Fixes: https://tracker.ceph.com/issues/58340 Signed-off-by: Xiubo Li <xiubli@redhat.com>
This commit is contained in:
parent
8c4f52415b
commit
478db14a65
@ -11328,6 +11328,11 @@ 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);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user