]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/cache: cleanup add_extent()
authorYingxin Cheng <yingxin.cheng@intel.com>
Fri, 2 Aug 2024 07:06:38 +0000 (15:06 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 14 Aug 2024 07:44:46 +0000 (15:44 +0800)
commitaa86e49c841ca7b87de9e5e8c0f0e5d91eb1a63b
treed88a50efbe050675cde74000670751c436d75707
parent0d924258b363c1491b1fffcafdd038b75b27ccb1
crimson/os/seastore/cache: cleanup add_extent()

Move add_to_dirty() and touch_extent() out of add_extent(), this removes
duplicated calls to touch_extent() from the on_cache callback.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/cache.h