diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-08-31 03:27:35 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-09-01 10:13:25 -0400 |
commit | f5b55fa1f81d518925d68b50d2316850c525d1ad (patch) | |
tree | c4a75615884dff7236b788a774fdfb04892a3bfe /lib/raid6/algos.c | |
parent | 7bac4f5b8e3a607f7ba1d3a652f5922a657fa9e8 (diff) |
RAID/s390: provide raid6 recovery optimization
The XC instruction can be used to improve the speed of the raid6
recovery. The loops now operate on blocks of 256 bytes.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/raid6/algos.c')
-rw-r--r-- | lib/raid6/algos.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/raid6/algos.c b/lib/raid6/algos.c index e1923b602bbc..592ff49df47d 100644 --- a/lib/raid6/algos.c +++ b/lib/raid6/algos.c | |||
@@ -98,6 +98,9 @@ const struct raid6_recov_calls *const raid6_recov_algos[] = { | |||
98 | #ifdef CONFIG_AS_SSSE3 | 98 | #ifdef CONFIG_AS_SSSE3 |
99 | &raid6_recov_ssse3, | 99 | &raid6_recov_ssse3, |
100 | #endif | 100 | #endif |
101 | #ifdef CONFIG_S390 | ||
102 | &raid6_recov_s390xc, | ||
103 | #endif | ||
101 | &raid6_recov_intx1, | 104 | &raid6_recov_intx1, |
102 | NULL | 105 | NULL |
103 | }; | 106 | }; |