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 | 30800d10f2872689cd78711f26b065494df8bb74 (patch) | |
tree | 1678134117b42ea7af7d7b4c1f10e864d486ae25 /crypto/async_tx/async_memset.c | |
parent | 9fb5d8ad81e452c5229dc9405dd2dbd08c96c74b (diff) | |
download | linux-crypto-30800d10f2872689cd78711f26b065494df8bb74.tar.gz linux-crypto-30800d10f2872689cd78711f26b065494df8bb74.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/async_tx/async_memset.c')
0 files changed, 0 insertions, 0 deletions