]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/cache/LRU: account the empty extent when adding it to LRU 62969/head
authorZhang Song <zhangsong02@qianxin.com>
Fri, 25 Apr 2025 08:55:34 +0000 (16:55 +0800)
committerZhang Song <zhangsong02@qianxin.com>
Fri, 25 Apr 2025 09:00:51 +0000 (17:00 +0800)
commitee388c3e4268a55bb1f9ddfba08321ff0fb4f4fe
tree8633a8fbe16c0b6982a25495e4169f46afdf9723
parentf7c998cdd0c0d60f5380e178c1e9947ce546a8ed
crimson/os/seastore/cache/LRU: account the empty extent when adding it to LRU

Don't update num_extents when a partial extent is already in LRU.

Fixes: https://tracker.ceph.com/issues/69986
Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
src/crimson/os/seastore/cache.h
src/crimson/os/seastore/seastore_types.h