From: raz ben yehuda Date: Tue, 16 Jun 2009 07:02:05 +0000 (+1000) Subject: md: raid0 :Enables chunk size other than powers of 2. X-Git-Tag: v2.6.31-rc1~143^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbb704efb784e2c8418e34dc3013af76bdd58101;p=pandora-kernel.git md: raid0 :Enables chunk size other than powers of 2. Maintain two flows, one for pow2 chunk sizes (which uses masks and shift), and a flow for the general case (which uses sector_div). This is for the sake of performance. - introduce map_sector and is_io_in_chunk_boundary to encapsulate those two flows better for raid0_make_request - fix blk_mergeable to support the two flows. Signed-off-by: raziebe@gmail.com Signed-off-by: NeilBrown --- Reading git-diff-tree failed