OSDN Git Service

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>
Tue, 21 Apr 2015 22:00:42 +0000 (08:00 +1000)
commit9a5ce91d053961b7cc8fa56bd083819a9fc92734
tree1c2883a6282bfcf31e0aa4adbdaeff1b9bf1872b
parent7e92e1d7629b00578cef22b1f4c6ada726663701
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