]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/cache: fine-grained lru cache control with GC 47021/head
authorXinyu Huang <xinyu.huang@intel.com>
Tue, 12 Jul 2022 10:19:04 +0000 (10:19 +0000)
committerXinyu Huang <xinyu.huang@intel.com>
Wed, 13 Jul 2022 01:42:06 +0000 (01:42 +0000)
commit8a09b9b457cc506b2525988a119fc488c6e806da
treea36ae8b0f5758defc1a5c28542896b8b7e9af03d
parent1b2dc7a872f805754998bc519d3c20ce60fb1e40
crimson/os/seastore/cache: fine-grained lru cache control with GC

GC transaction is not sourced by user behaviors, so the extent read
operations from GC transaction don’t satisfy the time locality
principle. These extents should not be added to LRU cache.

Signed-off-by: Xinyu Huang <xinyu.huang@intel.com>
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/cache.h