[PATCH] md: allow array level to be set textually via sysfs

Signed-off-by: Neil Brown <[email protected]>
Acked-by: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
NeilBrown 2006-01-06 00:20:51 -08:00 • committed by Linus Torvalds
commit d9d166c2a9
11 changed files with 67 additions and 14 deletions

View file

@ -189,6 +189,14 @@ All md devices contain:
1.2 (newer format in varying locations) or "none" indicating that
the kernel isn't managing metadata at all.
level
The raid 'level' for this array. The name will often (but not
always) be the same as the name of the module that implements the
level. To be auto-loaded the module must have an alias
md-$LEVEL e.g. md-raid5
This can be written only while the array is being assembled, not
after it is started.
As component devices are added to an md array, they appear in the 'md'
directory as new directories named
dev-XXX