From: NeilBrown Date: Fri, 9 Sep 2005 23:23:47 +0000 (-0700) Subject: [PATCH] md: support md/linear array with components greater than 2 terabytes. X-Git-Tag: v2.6.14-rc1~247 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15945fee6f09bff1f86b1a735b5888dc59cf38e3;p=pandora-kernel.git [PATCH] md: support md/linear array with components greater than 2 terabytes. linear currently uses division by the size of the smallest componenet device to find which device a request goes to. If that smallest device is larger than 2 terabytes, then the division will not work on some systems. So we introduce a pre-shift, and take care not to make the hash table too large, much like the code in raid0. Also get rid of conf->nr_zones, which is not needed. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed