diff options
author | NeilBrown <neilb@suse.de> | 2005-11-09 00:39:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:37 -0500 |
commit | 3f294f4fb6f2ba887b717674da26c21f3d57f3fc (patch) | |
tree | fd73f58a4d5c7261994127b0c46f04e33ee26d66 /include/linux/raid | |
parent | 86e6ffdd243a06663713e637ee683fb27dce8e0c (diff) |
[PATCH] md: add kobject/sysfs support to raid5
/sys/block/mdX/md/raid5/
contains raid5-related attributes.
Currently
stripe_cache_size
is number of entries in stripe cache, and is settable.
stripe_cache_active
is number of active entries, and in only readable.
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>
Diffstat (limited to 'include/linux/raid')
-rw-r--r-- | include/linux/raid/raid5.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/raid/raid5.h b/include/linux/raid/raid5.h index f025ba6fb14..5f4e945c808 100644 --- a/include/linux/raid/raid5.h +++ b/include/linux/raid/raid5.h | |||
@@ -228,6 +228,7 @@ struct raid5_private_data { | |||
228 | * Cleared when a sync completes. | 228 | * Cleared when a sync completes. |
229 | */ | 229 | */ |
230 | 230 | ||
231 | struct kobject kobj; | ||
231 | /* | 232 | /* |
232 | * Free stripes pool | 233 | * Free stripes pool |
233 | */ | 234 | */ |