]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] md: split off some md attributes in sysfs to a separate group
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2005 05:39:40 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:39 +0000 (07:56 -0800)
commit411036fa1924f5e5b0f7f9d04ae5d8cdc72fb839
treed63b4380ce3e6fc55a9ea272512ca430f840fe22
parent96de1e663cda65ba9275afb1bc007f34e5068ba1
[PATCH] md: split off some md attributes in sysfs to a separate group

Some, but not all, md array support data redundancy and hence support checking
and restoring that redundancy (resync, rebuild).

Some attributes apply specifically to functions involving this redundancy, and
so should only appear for md arrays for which they are meaningful.  i.e.  they
should not appear for raid0, linear, multpath, faulty.

This patch separates these into a distinct group and creates the group only if
the personality supports sync_request.

Signed-off-by: Neil Brown <neilb@suse.de>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c