]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/extent_pinboard: don't add extents under promotion
authorXuehan Xu <xuxuehan@qianxin.com>
Thu, 4 Jun 2026 05:54:01 +0000 (13:54 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Fri, 31 Jul 2026 01:40:19 +0000 (09:40 +0800)
commite141ac3f380f319ba76497a4906785d4a6e8d360
tree07b2dfc419821b9656e02bcbbcb98a0fb65c0802
parenta5693801a6cc6451b3f1f7fde95854933109c1bc
crimson/os/seastore/extent_pinboard: don't add extents under promotion
to cache

This is to avoid an under-promotion extent from being added back to and
evicted from the cache again before the promotion ends.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/cached_extent.cc
src/crimson/os/seastore/cached_extent.h
src/crimson/os/seastore/extent_pinboard.cc
src/crimson/os/seastore/transaction_manager.cc