]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
md/raid5: finish support for DDF/raid6
authorNeilBrown <neilb@suse.de>
Tue, 31 Mar 2009 03:39:38 +0000 (14:39 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 31 Mar 2009 03:39:38 +0000 (14:39 +1100)
commit67cc2b8165857ba019920d1f00d64bcc4140075d
treeff8e8eed440640acfa561160115ac44aedf811c2
parent99c0fb5f92828ae96909d390f2df137b89093b37
md/raid5: finish support for DDF/raid6

DDF requires RAID6 calculations over different devices in a different
order.
For md/raid6, we calculate over just the data devices, starting
immediately after the 'Q' block.
For ddf/raid6 we calculate over all devices, using zeros in place of
the P and Q blocks.

This requires unfortunately complex loops...

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c
drivers/md/raid5.h