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:
Xuehan Xu 2026-06-22 20:47:39 +08:00
parent 01c0602b1d
commit 78e74e8d71

View File

@ -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());
}