]> git.hungrycats.org Git - linux/commit
[PATCH] md: make sure the size of a raid5/6 array is a multiple of the chunk size.
authorNeil Brown <neilb@cse.unsw.edu.au>
Sat, 5 Jun 2004 03:56:05 +0000 (20:56 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 5 Jun 2004 03:56:05 +0000 (20:56 -0700)
commitf870229fba606cf89fd912737f8011926697ff14
tree07485b24c04fbce5a4990e59d9e16dd724f1091c
parente0de9abb64264f54cab05ace8980ebb8d917eab5
[PATCH] md: make sure the size of a raid5/6 array is a multiple of the chunk size.

Normally the size is chosen as a multiple of the chunk size, but if the size
is explicitly chosen, it might not be.  So we force it.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid5.c
drivers/md/raid6main.c