]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/cache: fix get_extent_by_type(t) to use Transaction::get_extent()
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 30 Jun 2021 03:06:52 +0000 (11:06 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Thu, 1 Jul 2021 02:15:21 +0000 (10:15 +0800)
commit82203cd3538bfd514ca5c11c6ffc766c2db62536
treee18af7ce89f70178b455bc6bf9e2190b41a35973
parent1445ba17a1a9b9e396368b115fa1d3a229c8b7e9
crimson/os/seastore/cache: fix get_extent_by_type(t) to use Transaction::get_extent()

The original query_cache_for_extent() doesn't call wait_io() if the
extent is pending. And the following get_extent_by_type() already covers
the lookup to Cache::extents and also implements wait_io() correctly.

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