aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMateusz Kusiak <[email protected]>2024-09-03 16:29:49 +0200
committerSong Liu <[email protected]>2024-09-04 14:52:45 -0700
commit2d2b3bc145b9d5b5c6f07d22291723ddb024ca76 (patch)
treec8ab72524925ba42d79e190eb703b97856972957 /lib/memory-notifier-error-inject.c
parentfb16787b396c46158e46b588d357dea4e090020b (diff)
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: Mateusz Kusiak <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions