]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: implement placement_hint HOT/COLD/REWRITE 43459/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Fri, 8 Oct 2021 02:47:13 +0000 (10:47 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Fri, 8 Oct 2021 03:59:50 +0000 (11:59 +0800)
commit300d27065b8f4a9f728a9fb0541a3174057cfe4c
tree6633546802b67941040129ea7a4dc6df7c5fdb65
parent05d68ddc1582985931010479b11ccd7a05a7ff0d
crimson/os/seastore: implement placement_hint HOT/COLD/REWRITE

The current strategy is to inline allocate non-REWRITE extents in order
to reduce the record overhead. The observation shows the transactions
from user is usually very small and doesn't deserve to be written in ool
records, which requires at least a block to store the record metadata.

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