From: Iustin Pop Date: Wed, 17 Oct 2007 06:30:54 +0000 (-0700) Subject: md: expose the degraded status of an assembled array through sysfs X-Git-Tag: v2.6.24-rc1~557 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7f3d291a0e1330f341fdf1128b2d12fff7932ee;p=pandora-kernel.git 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 Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed