Commit 391e5c2
committed
host: include mdadm RAID devices in disk detection
Detect RAID devices and exclude child devices to properly enumerate all
available disks including software RAID arrays.
Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>1 parent eb0eac0 commit 391e5c2
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
635 | 635 | | |
636 | 636 | | |
637 | 637 | | |
| 638 | + | |
| 639 | + | |
638 | 640 | | |
639 | | - | |
640 | | - | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
641 | 649 | | |
642 | 650 | | |
643 | 651 | | |
| |||
0 commit comments