diff options
author | NeilBrown <neilb@suse.de> | 2006-01-06 00:20:47 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:34:08 -0800 |
commit | 3b34380ae8c5df6debd85183c7fa1ac05f79b7d2 (patch) | |
tree | 9979f8b402b0566db286081eb7f5c26418964348 /Documentation/md.txt | |
parent | 03c902e17f40cfed63cd2494616f35fc9c58571b (diff) | |
download | linux-3b34380ae8c5df6debd85183c7fa1ac05f79b7d2.tar.gz linux-3b34380ae8c5df6debd85183c7fa1ac05f79b7d2.tar.bz2 linux-3b34380ae8c5df6debd85183c7fa1ac05f79b7d2.zip |
[PATCH] md: allow chunk_size to be settable through sysfs
... only before array is started of course.
Signed-off-by: Neil Brown <neilb@suse.de>
Acked-by: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/md.txt')
-rw-r--r-- | Documentation/md.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt index 1dd0fb6021cf..9710138d101a 100644 --- a/Documentation/md.txt +++ b/Documentation/md.txt @@ -166,6 +166,14 @@ All md devices contain: will be empty. If an array is being resized (not currently possible) this will contain the larger of the old and new sizes. + chunk_size + This is the size if bytes for 'chunks' and is only relevant to + raid levels that involve striping (1,4,5,6,10). The address space + of the array is conceptually divided into chunks and consecutive + chunks are striped onto neighbouring devices. + The size should be atleast PAGE_SIZE (4k) and should be a power + of 2. This can only be set while assembling an array + As component devices are added to an md array, they appear in the 'md' directory as new directories named dev-XXX |