Re: [PATCH] Expose the degraded status of an assembled array through sysfs

2007-10-11 Thread Neil Brown
On Wednesday October 10, [EMAIL PROTECTED] wrote: On Mon, Sep 10, 2007 at 06:51:14PM +0200, Iustin Pop wrote: 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

Re: [PATCH] Expose the degraded status of an assembled array through sysfs

2007-10-10 Thread Iustin Pop
On Mon, Sep 10, 2007 at 06:51:14PM +0200, Iustin Pop wrote: 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

[PATCH] Expose the degraded status of an assembled array through sysfs

2007-09-10 Thread Iustin Pop
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