btrfs-progs: scan devices in parallel for chunk-recover
authorGui Hecheng <guihc.fnst@cn.fujitsu.com>
Thu, 28 Nov 2013 05:32:52 +0000 (13:32 +0800)
committerChris Mason <clm@fb.com>
Fri, 31 Jan 2014 16:22:09 +0000 (08:22 -0800)
commit9df48a7d01bb28ed10cd9321bd44ac77b85ea7ef
treeca30d7bc030dfaf9e4197eeca655b9e560aff052
parent4989dc82d189494052fed6869b23fb14bd898628
btrfs-progs: scan devices in parallel for chunk-recover

Originally, multi devices are scanned one by one;
Now, one thread is used per device to scan.

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
chunk-recover.c