You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
889 B
24 lines
889 B
From a21c4fa61f75f6c900f152651308ac9b457a62da Mon Sep 17 00:00:00 2001
|
|
From: Vojtech Trefny <vtrefny@redhat.com>
|
|
Date: Thu, 23 May 2024 15:31:47 +0200
|
|
Subject: [PATCH] Remove support for the MD linear RAID level
|
|
|
|
The md-linear kernel module is deprecated and will be removed in
|
|
the future.
|
|
---
|
|
blivet/devicelibs/mdraid.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/blivet/devicelibs/mdraid.py b/blivet/devicelibs/mdraid.py
|
|
index 3b60c87c4..0ef3d0a4f 100644
|
|
--- a/blivet/devicelibs/mdraid.py
|
|
+++ b/blivet/devicelibs/mdraid.py
|
|
@@ -45,6 +45,6 @@ def is_raid_level(cls, level):
|
|
hasattr(level, 'get_size')
|
|
|
|
|
|
-raid_levels = MDRaidLevels(["raid0", "raid1", "raid4", "raid5", "raid6", "raid10", "linear"])
|
|
+raid_levels = MDRaidLevels(["raid0", "raid1", "raid4", "raid5", "raid6", "raid10"])
|
|
|
|
EXTERNAL_DEPENDENCIES = [availability.BLOCKDEV_MDRAID_PLUGIN]
|