proxmox-backup/src
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
..
acme move basic ACME types into src/api2/types/acme.rs 2021-05-04 11:32:18 +02:00
api2 tape/restore: optimize chunk restore behaviour 2021-05-04 13:06:31 +02:00
backup add ctime and size function to IndexFile trait 2021-04-30 11:40:45 +02:00
bin move basic ACME types into src/api2/types/acme.rs 2021-05-04 11:32:18 +02:00
client vsock_client: support authorization header 2021-04-01 11:09:28 +02:00
config move basic ACME types into src/api2/types/acme.rs 2021-05-04 11:32:18 +02:00
pxar pxar/extract: add sequential variant of extract_sub_dir 2021-04-08 14:24:23 +02:00
rrd clippy: more misc fixes 2021-01-26 09:54:55 +01:00
server server/jobstate: improve name of 'try_update_state_file' 2021-04-26 10:50:36 +02:00
tape tape: add read_medium_configuration_page() to detect WORM media 2021-04-27 11:37:03 +02:00
tools Revert "temporarily disable broken test" 2021-05-04 12:11:35 +02:00
api2.rs file-restore: add binary and basic commands 2021-04-08 13:57:57 +02:00
auth.rs api2/access/user: remove password for @pbs users on removal 2021-04-15 08:33:20 +02:00
auth_helpers.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
backup.rs typo fixes all over the place 2021-03-10 16:39:57 +01:00
buildcfg.rs file-restore: add basic VM/block device support 2021-04-08 14:11:02 +02:00
client.rs client: add VsockClient to connect to virtio-vsock VMs 2021-02-17 08:15:43 +01:00
config.rs add node/{node}/certificates api call 2021-05-04 09:31:30 +02:00
lib.rs add acme client 2021-05-04 07:56:52 +02:00
server.rs server/rest: extract auth to seperate module 2021-04-01 11:26:28 +02:00
task.rs introduce TaskState trait 2020-10-12 14:11:57 +02:00
tools.rs fix permissions set in create_run_dir 2021-05-04 12:11:35 +02:00