mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
[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 <[email protected]> Cc: Greg KH <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
86e6ffdd24
commit
3f294f4fb6
2 files changed
+152
-32
No files matched your search
@@ -228,6 +228,7 @@ struct raid5_private_data {
|
||||
* Cleared when a sync completes.
|
||||
*/
|
||||
|
||||
struct kobject kobj;
|
||||
/*
|
||||
* Free stripes pool
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user