diff options
author | Dan Williams <dan.j.williams@intel.com> | 2010-05-04 20:41:56 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-05 07:52:56 -0700 |
commit | 5157b4aa5b7de8787b6318e61bcc285031bb9088 (patch) | |
tree | cf47d7739d646895a151bf3fd71e56e64dc9d260 /crypto/cts.c | |
parent | 7ebd467551ed6ae200d7835a84bbda0dcadaa511 (diff) | |
download | linux-stable-5157b4aa5b7de8787b6318e61bcc285031bb9088.tar.gz linux-stable-5157b4aa5b7de8787b6318e61bcc285031bb9088.tar.bz2 linux-stable-5157b4aa5b7de8787b6318e61bcc285031bb9088.zip |
raid6: fix recovery performance regression
The raid6 recovery code should immediately drop back to the optimized
synchronous path when a p+q dma resource is not available. Otherwise we
run the non-optimized/multi-pass async code in sync mode.
Verified with raid6test (NDISKS=255)
Applies to kernels >= 2.6.32.
Cc: <stable@kernel.org>
Acked-by: NeilBrown <neilb@suse.de>
Reported-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/cts.c')
0 files changed, 0 insertions, 0 deletions