diff options
author | Iustin Pop <iusty@k1024.org> | 2007-10-16 23:30:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:43:03 -0700 |
commit | d7f3d291a0e1330f341fdf1128b2d12fff7932ee (patch) | |
tree | c7dd6ab8ece277fe71c9626aeeda2e79dd259476 /drivers/mtd/mtdblock_ro.c | |
parent | 2b12ab6d33f413aabb623197eeecaad5c216e6ae (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 'drivers/mtd/mtdblock_ro.c')
0 files changed, 0 insertions, 0 deletions