Skip to content

dm vdo indexer: embed geometry in parent structures#110

Open
lorelei-sakai wants to merge 1 commit into
dm-vdo:mainfrom
lorelei-sakai:refactor/embed-geometry-in-config
Open

dm vdo indexer: embed geometry in parent structures#110
lorelei-sakai wants to merge 1 commit into
dm-vdo:mainfrom
lorelei-sakai:refactor/embed-geometry-in-config

Conversation

@lorelei-sakai

Copy link
Copy Markdown
Member

Embed struct index_geometry in struct uds_configuration and struct volume directly, eliminating the need to allocate (and free) the geometry separately.

The original patch was from corwin, PR vdo-devel/463 This commit is long but it's mostly format updating from changing the geometry field from a pointer to an embedded struct. It should be refactoring with no logic or on-disk format changes.

Embed struct index_geometry in struct uds_configuration and struct
volume directly, eliminating the need to allocate (and free) the
geometry separately.

Signed-off-by: corwin <[email protected]>
Signed-off-by: Matthew Sakai <[email protected]>
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.

1 participant