Commit 2d2b3bc1 authored by Mateusz Kusiak's avatar Mateusz Kusiak Committed by Song Liu
Browse files

md: Report failed arrays as broken in mdstat



Depending on if array has personality, it is either reported as active or
inactive. This patch adds third status "broken" for arrays with
personality that became inoperative. The reason is end users tend to
assume that "active" indicates array is operational.

Add "broken" state for inoperative arrays with personality and refactor
the code.

Signed-off-by: default avatarMateusz Kusiak <mateusz.kusiak@intel.com>
Link: https://lore.kernel.org/r/20240903142949.53628-1-mateusz.kusiak@intel.com


Signed-off-by: default avatarSong Liu <song@kernel.org>
parent fb16787b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment