]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: defer trim() until after the last cache_rejoin ack being received 56747/head
authorXiubo Li <xiubli@redhat.com>
Wed, 26 Jul 2023 06:34:01 +0000 (14:34 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 18 Jun 2024 04:14:52 +0000 (12:14 +0800)
commitb4f476b2d2c9d723b646ec8f2714aa7f69dd71d3
tree209dd28ec6287e5bffc08696d8dc8f13611b9a3e
parent5a8ca914234ab5b070e1a7cc6120b35d202ba45e
mds: defer trim() until after the last cache_rejoin ack being received

Just before the last cache_rejoin ack being received the entire
subtree, together with the inode subtree root belongs to, were
trimmed the isolated_inodes list couldn't be correctly erased. We
should defer calling the trim() until the last cache_rejoin ack
being received.

Fixes: https://tracker.ceph.com/issues/62036
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit dd783803f44d8cc424fdf33fef0a6a9203be3447)
src/mds/MDCache.cc
src/mds/MDCache.h