]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore/EPM: refactor to index writers by hint
authorYingxin Cheng <yingxin.cheng@intel.com>
Fri, 1 Apr 2022 01:42:32 +0000 (09:42 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 6 Apr 2022 02:54:00 +0000 (10:54 +0800)
commitbb658f115edf963cc74d1a2e1ab7768cf6e68ef0
treeb8ff5147c4ac47fcc18bcbcbad41cc8f64b46838
parent60f3d4392ed63cf52346939a76c4d3b45c0587bc
crimson/os/seastore/EPM: refactor to index writers by hint

Generally, simplify the indexing from:
EPM ==(device-id)=> Allocator ==> Writers
to:
EPM ==(hint)=> Writers

This is for the following considerations:
* Writer may not be specific to a device;
* Faster placement decision making directly by hint;

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