mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
crimson/os/seastore: correct the parameter passed to LBAManager::clone_mapping
Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
This commit is contained in:
parent
ceb5df6109
commit
6bd05fcf62
@ -517,6 +517,10 @@ public:
|
||||
mapping.is_indirect()
|
||||
? mapping.get_intermediate_key()
|
||||
: mapping.get_key();
|
||||
auto intermediate_base =
|
||||
mapping.is_indirect()
|
||||
? mapping.get_intermediate_base()
|
||||
: mapping.get_key();
|
||||
|
||||
LOG_PREFIX(TransactionManager::clone_pin);
|
||||
SUBDEBUGT(seastore_tm, "len={}, laddr_hint={}, clone_offset {}",
|
||||
@ -528,7 +532,7 @@ public:
|
||||
mapping.get_length(),
|
||||
intermediate_key,
|
||||
mapping.get_val(),
|
||||
intermediate_key
|
||||
intermediate_base
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user