]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/async_cleaner: don't trim backref when reclaiming space
authorXuehan Xu <xxhdx1985126@gmail.com>
Tue, 19 Jul 2022 07:48:47 +0000 (15:48 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Wed, 20 Jul 2022 02:00:04 +0000 (10:00 +0800)
commit2652de984166e36666c1dc8cd1c5ba560c8fced6
tree511ad6bfbb286702ad8fd9d04bebf08731b324a0
parent3f494b79d6d3a9d5ddd5d62de62c3637fdfb9381
crimson/os/seastore/async_cleaner: don't trim backref when reclaiming space

Since the current backref cache doesn't invalidate duplicated backrefs any more
and backrefs get trimmed in the exact order of journal seqs, there's no need to trim
backrefs when reclaiming space

Fixes: https://tracker.ceph.com/issues/56535
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/os/seastore/async_cleaner.cc
src/crimson/os/seastore/async_cleaner.h
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/transaction.h
src/crimson/os/seastore/transaction_manager.cc
src/crimson/os/seastore/transaction_manager.h