]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib/raid6: cleanup gen_syndrome function selection
authorJim Kukunas <james.t.kukunas@linux.intel.com>
Tue, 24 Apr 2012 00:57:51 +0000 (10:57 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:57:51 +0000 (10:57 +1000)
commitcfbf91e38519a0280e5aa1894217bb0adf281fb6
treefed80f44a6b46a4e4e9a7135d33580ed68601c06
parent4b69a02862fa30f85889c6d95a505c85bbe31f22
lib/raid6: cleanup gen_syndrome function selection

Reorders functions in raid6_algos as well as the preference check
to reduce the number of functions tested on initialization.

Also, creates symmetry between choosing the gen_syndrome functions
and choosing the recovery functions.

Signed-off-by: Jim Kukunas <james.t.kukunas@linux.intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
lib/raid6/algos.c