Ignore previous email. Forgot to attach patch. This is a trivial patch that improves rebuild/resync speed of raid5 arrays. Instead of having the resync-thread handle the stripe, it now just sets STRIPE_HANDLE and releases the stripe. Allowing the resync-thread to return immediately and schedule more operations. The speedup will increase with more drives in the array. And it will increase further if additional kworker threads are enabled. But, it improves with just the default raid5d() running. Note: I posted this patch a while back, but nothing happened. Not accepted, not rejected. Trying one more time. -eivind
Attachment:
raid5_speedup_sync_request.patch
Description: Binary data