[PATCH] md: remove arbitrary limit on chunk size
authorNeilBrown <neilb@suse.de>
Mon, 26 Jun 2006 07:27:36 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:36 +0000 (09:58 -0700)
commit8932c2e0dcae52e73430878fd8a7a7800176eada
tree3b734ccaa0fb210f1fd76ff9bb6fb9700d1c4095
parentc70810b327a247d12805554d0aa4605e257effb8
[PATCH] md: remove arbitrary limit on chunk size

The largest chunk size the code can support without substantial surgery is
2^30 bytes, so make that the limit instead of an arbitrary 4Meg.  Some day,
the 'chunksize' should change to a sector-shift instead of a byte-count.  Then
no limit would be needed.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid10.c
drivers/md/raid5.c
drivers/md/raid6main.c
include/linux/raid/md_k.h