Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for the MD linear RAID level #1236

Conversation

vojtechtrefny
Copy link
Member

The md-linear kernel module is deprecated and will be removed in the future.

The md-linear kernel module is deprecated and will be removed in
the future.
@vojtechtrefny vojtechtrefny merged commit d631420 into storaged-project:3.10-devel May 30, 2024
9 of 12 checks passed
AdamWill added a commit to AdamWill/blivet-gui that referenced this pull request Jun 5, 2024
This happens more often since blivet dropped linear from mdraid
in storaged-project/blivet#1236 . It was
the only RAID level supported for mdraid that had min_members of
1. When you add the first member for a new mdraid set, of course,
there is only one member.

RaidChooser's update method checks the `min_members` on each
level and only adds it to the liststore of available levels if we
currently have at least that many members. So, before that blivet
change, when there was only one member, "linear" was the only
level in the liststore, and was necessarily the selected_level.
Now linear is gone, when there is only one member of an mdraid
set, there are *no* levels in the liststore, which means
selected_level winds up being None.

There are three places I can see in add_dialog.py which don't
guard against selected_level being None. This fixes each of them.

Signed-off-by: Adam Williamson <[email protected]>
KKoukiou added a commit to KKoukiou/anaconda that referenced this pull request Sep 20, 2024
KKoukiou added a commit to KKoukiou/anaconda that referenced this pull request Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant