Skip to content

Update RHEL 10 version macros for bio_inline_vecs compatibility#431

Merged
C2Redhat merged 1 commit intodm-vdo:mainfrom
C2Redhat:fixFIORHEL10
Mar 10, 2026
Merged

Update RHEL 10 version macros for bio_inline_vecs compatibility#431
C2Redhat merged 1 commit intodm-vdo:mainfrom
C2Redhat:fixFIORHEL10

Conversation

@C2Redhat
Copy link
Copy Markdown
Member

@C2Redhat C2Redhat commented Mar 9, 2026

This PR updates the RHEL 10 version comparison macro from 10.2 to 10.9.

The bio_inline_vecs interface, originally introduced in Fedora 6.18, has
not been backported to RHEL 10.3. Current tracking indicates that a backport
is unlikely for the remainder of the RHEL 10 lifecycle. Increasing the macro
boundary to 10.9 ensures that the legacy code path remains active for all
currently planned RHEL 10 minor releases, preventing build failures as the
distro evolves.

Please refer to commit 43b3afa for
initial request.

Copy link
Copy Markdown
Member

@lorelei-sakai lorelei-sakai left a comment

Choose a reason for hiding this comment

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

The change looks reasonable.

Two questions, though:

  1. Please mention the code change affected by the #ifdef change in the title of the PR. When searching through old PR's it is very helpful to see at a glance whether his has to do with bio_io_vecs or from_timer or whatever other change.

  2. If this hasn't been backported yet, it seem like there's a good chance it never will be. Is it worth changing the range to be "<= 10.9", or something more expansive?

This PR updates the RHEL 10 version comparison macro from 10.2 to 10.9.

The bio_inline_vecs interface, originally introduced in Fedora 6.18, has
not been backported to RHEL 10.3. Current tracking indicates that a backport
is unlikely for the remainder of the RHEL 10 lifecycle. Increasing the macro
boundary to 10.9 ensures that the legacy code path remains active for all
currently planned RHEL 10 minor releases, preventing build failures as the
distro evolves.

Please refer to commit 43b3afa for
initial request.

Signed-off-by: Chung Chung <cchung@redhat.com>
Copy link
Copy Markdown
Member

@lorelei-sakai lorelei-sakai left a comment

Choose a reason for hiding this comment

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

The commit message is very good. Just be sure to update the PR title to match the commit title as well.

@C2Redhat C2Redhat changed the title Update RHEL version comparison macro to 10.3 Update RHEL 10 version macros for bio_inline_vecs compatibility Mar 10, 2026
@C2Redhat C2Redhat merged commit f981406 into dm-vdo:main Mar 10, 2026
7 checks passed
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