aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/main.c
diff options
context:
space:
mode:
authorIustin Pop <iusty@k1024.org>2007-10-17 02:30:54 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:43:03 -0400
commitd7f3d291a0e1330f341fdf1128b2d12fff7932ee (patch)
treec7dd6ab8ece277fe71c9626aeeda2e79dd259476 /kernel/power/main.c
parent2b12ab6d33f413aabb623197eeecaad5c216e6ae (diff)
md: expose the degraded status of an assembled array through sysfs
The 'degraded' attribute is useful to quickly determine if the array is degraded, instead of parsing 'mdadm -D' output or relying on the other techniques (number of working devices against number of defined devices, etc.). The md code already keeps track of this attribute, so it's useful to export it. Signed-off-by: Iustin Pop <iusty@k1024.org> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/power/main.c')
0 files changed, 0 insertions, 0 deletions