Skip to content

Simplify sub-index parameter calculations#106

Merged
lorelei-sakai merged 1 commit into
dm-vdo:mainfrom
lorelei-sakai:feature/refactor-split-config
Jun 30, 2026
Merged

Simplify sub-index parameter calculations#106
lorelei-sakai merged 1 commit into
dm-vdo:mainfrom
lorelei-sakai:feature/refactor-split-config

Conversation

@lorelei-sakai

Copy link
Copy Markdown
Member

Pull the calculations from split_config() into
compute_volume_sub_index_parameters(). For sparse indexes, this eliminates the duplication of both the configs and geometries in favor of merely having 2 sub_index_parameters structures.

Also expand the sub_index_parameters structure to include the small number of fields its users rely on from both the config and the geometry.

Pull the calculations from split_config() into
compute_volume_sub_index_parameters(). For sparse indexes, this
eliminates the duplication of both the configs and geometries
in favor of merely having 2 sub_index_parameters structures.

Also expand the sub_index_parameters structure to include the
small number of fields its users rely on from both the config
and the geometry.

Signed-off-by: Matthew Sakai <msakai@redhat.com>
@lorelei-sakai lorelei-sakai merged commit 8e58112 into dm-vdo:main Jun 30, 2026
6 checks passed
@lorelei-sakai lorelei-sakai deleted the feature/refactor-split-config branch June 30, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants