]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/cache/LRU: account the empty extent when adding it to LRU 63225/head
authorZhang Song <zhangsong02@qianxin.com>
Fri, 25 Apr 2025 08:55:34 +0000 (16:55 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 12 May 2025 08:08:27 +0000 (08:08 +0000)
commitfba0d40900a1f6cf0dc1f4e0524f36fdb01699f2
tree392a0c2f18ba422e1edf804cd9a34ccbf182fb4b
parent18860288d7f712ab612a4ae9481193eeb0aa052d
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>
(cherry picked from commit ee388c3e4268a55bb1f9ddfba08321ff0fb4f4fe)
src/crimson/os/seastore/cache.h
src/crimson/os/seastore/seastore_types.h