NeilBrown 4bbf3771ca md: Relax minimum size restrictions on chunk_size.
Currently, the 'chunk_size' of an array must be at-least PAGE_SIZE.

This makes moving an array to a machine with a larger PAGE_SIZE, or
changing the kernel to use a larger PAGE_SIZE, can stop an array from
working.

For RAID10 and RAID4/5/6, this is non-trivial to fix as the resync
process works on whole pages at a time, and assumes them to be wholly
within a stripe.  For other raid personalities, this restriction is
not needed at all and can be dropped.

So remove the test on chunk_size from common can, and add it in just
the places where it is needed: raid10 and raid4/5/6.

Signed-off-by: NeilBrown <neilb@suse.de>
2008-10-13 11:55:12 +11:00
..
2006-01-01 22:21:50 +01:00
2007-10-20 02:01:11 +01:00
2005-04-16 15:20:36 -07:00
2007-10-20 02:01:11 +01:00
2008-04-25 13:26:57 +01:00
2008-04-25 13:26:57 +01:00
2008-07-21 12:00:38 +01:00
2007-10-20 02:01:07 +01:00
2008-07-21 12:00:35 +01:00
2008-07-21 12:00:35 +01:00
2008-10-10 13:37:13 +01:00
2007-10-20 02:01:07 +01:00
2007-10-20 02:01:26 +01:00
2008-10-09 08:56:08 +02:00
2008-10-10 13:37:12 +01:00
2008-02-06 10:41:18 -08:00
2008-10-09 08:56:08 +02:00
2005-09-17 11:49:58 -07:00
2005-04-16 15:20:36 -07:00
2007-10-29 07:41:32 -07:00
2005-04-16 15:20:36 -07:00
2007-10-29 07:41:32 -07:00
2007-10-29 07:41:32 -07:00
2007-10-29 07:41:32 -07:00
2005-04-16 15:20:36 -07:00