mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
crimson/os/seastore/lba: non-existing LBACursors are strictly forbidden
to refresh Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
This commit is contained in:
parent
01c0602b1d
commit
78e74e8d71
@ -135,6 +135,7 @@ base_iertr::future<> LBACursor::refresh()
|
||||
|
||||
modifications = leaf->modifications;
|
||||
iter = leaf->lower_bound(get_laddr());
|
||||
assert(iter == leaf->end() || iter.get_key() == get_laddr());
|
||||
assert(is_viewable());
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user