proxmox-backup/src/api2
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
..
access api2/access/user: remove password for @pbs users on removal 2021-04-15 08:33:20 +02:00
admin api/datastore: allow pxar file download of entire archive 2021-04-13 08:26:41 +02:00
backup verify: factor out common parameters 2021-01-26 09:54:49 +01:00
config move basic ACME types into src/api2/types/acme.rs 2021-05-04 11:32:18 +02:00
node move basic ACME types into src/api2/types/acme.rs 2021-05-04 11:32:18 +02:00
reader replace Userid with Authid 2020-10-29 15:11:39 +01:00
tape tape/restore: optimize chunk restore behaviour 2021-05-04 13:06:31 +02:00
types move basic ACME types into src/api2/types/acme.rs 2021-05-04 11:32:18 +02:00
access.rs change half-ticket time range from -120..240 to -60..600 2021-02-01 15:13:11 +01:00
admin.rs improve code docs in api2 2021-01-22 15:57:42 +01:00
backup.rs cleanup: cleanup use clause (avoid *) 2021-02-22 09:33:29 +01:00
config.rs add config/acme api path 2021-05-04 09:30:49 +02:00
helpers.rs file-restore: Add 'v' (Virtual) ArchiveEntry type 2021-04-21 17:19:40 +02:00
node.rs add node/{node}/config api path 2021-05-04 09:32:42 +02:00
ping.rs improve code docs in api2 2021-01-22 15:57:42 +01:00
pull.rs clippy: us *_or_else with function calls 2021-01-20 16:23:54 +01:00
reader.rs cleanup: cleanup use clause (avoid *) 2021-02-22 09:33:29 +01:00
status.rs dashboard: fix datastore full estimate for not changing usage 2021-03-02 17:51:13 +01:00
version.rs improve code docs in api2 2021-01-22 15:57:42 +01:00