]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid6 algorithms: xor_syndrome() for generic int
authorMarkus Stockhausen <stockhausen@collogia.de>
Mon, 15 Dec 2014 01:57:04 +0000 (12:57 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 8 Apr 2015 02:57:55 +0000 (12:57 +1000)
commita99d99b6a37b1bd0a39336db36080a0a86ca8a19
tree269552f705d309dd3c4a8dac9bfdb0aa790d685f
parenta02c6ddcf4a8f38e3aac7e89e6ec0a0efc788226
md/raid6 algorithms: xor_syndrome() for generic int

Start the algorithms with the very basic one. It is left and right
optimized. That means we can avoid all calculations for unneeded pages
above the right stop offset. For pages below the left start offset we
still need the syndrome multiplication but without reading data pages.

Signed-off-by: Markus Stockhausen <stockhausen@collogia.de>
Signed-off-by: NeilBrown <neilb@suse.de>
lib/raid6/int.uc