Skip to content

[VDO-6041][VDO-6034] Fix saved region and zone count validation#93

Merged
lorelei-sakai merged 1 commit intodm-vdo:mainfrom
lorelei-sakai:fix/extra-zone-count-validation
Feb 23, 2026
Merged

[VDO-6041][VDO-6034] Fix saved region and zone count validation#93
lorelei-sakai merged 1 commit intodm-vdo:mainfrom
lorelei-sakai:fix/extra-zone-count-validation

Conversation

@lorelei-sakai
Copy link
Member

Defer zone_count check until the zone_count has been completely computed. (It can depend on the existence of an empty region in the table.) Also validate the region_count to catch cases where too few regions are defined.

As mentioned in vdo-devel, I intend to squash this patch into the first patch in PR #92 and send the combination upstream as v2 of that series.

Defer zone_count check until the zone_count has been completely
computed. (It can depend on the existence of an empty region
in the table.) Also validate the region_count to catch cases
where too few regions are defined.

Signed-off-by: Matthew Sakai <msakai@redhat.com>
@github-actions github-actions bot requested a review from bjohnsto February 19, 2026 20:35
@lorelei-sakai lorelei-sakai changed the title [VDO-6041[VDO-6034] Fix saved region and zone count validation [VDO-6041][VDO-6034] Fix saved region and zone count validation Feb 19, 2026
Copy link
Member

@bjohnsto bjohnsto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@lorelei-sakai lorelei-sakai merged commit 1388769 into dm-vdo:main Feb 23, 2026
2 checks passed
@lorelei-sakai lorelei-sakai deleted the fix/extra-zone-count-validation branch February 23, 2026 21:40
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.

4 participants