Btrfs-progs: multi-thread btrfs-image restore
authorJosef Bacik <jbacik@fb.com>
Fri, 6 Feb 2015 19:40:45 +0000 (14:40 -0500)
committerJosef Bacik <jbacik@fb.com>
Mon, 9 Feb 2015 19:53:15 +0000 (14:53 -0500)
commitc7e3b63b7e231ed1d9a47ca735a7ead112b47078
tree466ebb398d8679c843d97481610806501ffd8091
parent32bb725f667a5c26f208f0717cb91716523d88f9
Btrfs-progs: multi-thread btrfs-image restore

For some reason we only allow btrfs-image restore to have one thread, which is
incredibly slow with large images.  So allow us to do work with more than just
one thread.  This made my restore go from 16 minutes to 3 minutes.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
btrfs-image.c