[PATCH] md: initial sysfs support for md
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2005 05:39:23 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:36 +0000 (07:56 -0800)
commiteae1701fbd264cfc7efbaf7cd4cd999760070e27
tree6605cca37d4c605217b7accffe7f94f81d37f0dd
parent4e5314b56a7ea11c7a5f2b8418992b2f49648a25
[PATCH] md: initial sysfs support for md

Start using kobjects in mddevs, and provide a couple of simple attributes
(level and disks).  Attributes live in
  /sys/block/mdX/md/attr-name

Signed-off-by: Neil Brown <neilb@suse.de>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c
include/linux/raid/md_k.h