Dominik Csapak 49f9aca627 tape/restore: optimize chunk restore behaviour
by checking the 'checked_chunks' before trying to write to disk
and by doing the existance check in the parallel handler. This way,
we do not have to check the existance of a chunk multiple times
(if multiple source datastores gets restored to the same target
datastore) and also we do not have to wait on the stat before reading
the next chunk.

We have to change the &WorkerTask to an Arc though, otherwise we
cannot log to the worker from the parallel handler

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-05-04 13:06:31 +02:00
..
2020-10-29 15:11:39 +01:00
2021-01-22 15:57:42 +01:00
2021-05-04 09:30:49 +02:00
2021-05-04 09:32:42 +02:00
2021-01-22 15:57:42 +01:00
2021-01-22 15:57:42 +01:00