]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: defer trim() until after the last cache_rejoin ack being received
authorXiubo Li <xiubli@redhat.com>
Wed, 26 Jul 2023 06:34:01 +0000 (14:34 +0800)
committerXiubo Li <xiubli@redhat.com>
Fri, 2 Feb 2024 07:54:19 +0000 (15:54 +0800)
commitdd783803f44d8cc424fdf33fef0a6a9203be3447
tree84e246e95bbb58e957a7bd2181154d625898aa0a
parent57856522a6a4dd4c69d9b3b305d29c5559a3da18
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>
src/mds/MDCache.cc
src/mds/MDCache.h