Skip to content
Commit 5157b4aa authored by Dan Williams's avatar Dan Williams Committed by Linus Torvalds
Browse files

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: default avatarNeilBrown <neilb@suse.de>
Reported-by: default avatarH. Peter Anvin <hpa@zytor.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7ebd4675
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment