Requested by Avi. The added benefit is that the code for repairing all the ranges in parallel is now identical to the code of repairing the ranges one by one - just replace do_for_each with parallel_for_each, and no need for a different implementation using semaphores like I had before this patch. Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>