[PATCH] md: allow available size of component devices to be set 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:21:06 -08:00 • committed by Linus Torvalds
commit 83303b613d
2 changed files with 32 additions and 0 deletions

View file

@ -250,6 +250,13 @@ Each directory contains:
the device before this offset us not touched, unless it is
used for storing metadata (Formats 1.1 and 1.2).
size
The amount of the device, after the offset, that can be used
for storage of data. This will normally be the same as the
component_size. This can be written while assembling an
array. If a value less than the current component_size is
written, component_size will be reduced to this value.
An active md device will also contain and entry for each active device
in the array. These are named