summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorraz ben yehuda <raziebe@gmail.com>2009-06-16 17:02:05 +1000
committerNeilBrown <neilb@suse.de>2009-06-16 17:02:05 +1000
commitfbb704efb784e2c8418e34dc3013af76bdd58101 (patch)
tree814820430d00128cb5f3fc0d44bb579c19d5d2a9 /drivers/md/raid5.c
parent2ac06c3332898103210b478c5a17c20e28929287 (diff)
downloadkernel-crypto-fbb704efb784e2c8418e34dc3013af76bdd58101.tar.gz
kernel-crypto-fbb704efb784e2c8418e34dc3013af76bdd58101.tar.xz
kernel-crypto-fbb704efb784e2c8418e34dc3013af76bdd58101.zip
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 <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions