mirror of
https://github.com/ceph/ceph
synced 2025-02-24 11:37:37 +00:00
Merge pull request #56250 from myoungwon/wip-laod-metadata-during-gc
crimson/os/seastore: cache metadata during trimming to prevent from disk read Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com> Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
This commit is contained in:
commit
e76d3a3f39
@ -1295,8 +1295,11 @@ private:
|
||||
CachedExtent &ext,
|
||||
const Transaction::src_t* p_src=nullptr)
|
||||
{
|
||||
if (p_src && is_background_transaction(*p_src))
|
||||
if (p_src &&
|
||||
is_background_transaction(*p_src) &&
|
||||
is_logical_type(ext.get_type())) {
|
||||
return;
|
||||
}
|
||||
if (ext.is_stable_clean() && !ext.is_placeholder()) {
|
||||
lru.move_to_top(ext);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user