proxmox-backup/src/bin
Stefan Reiter 6afb60abf5 asyncify pxar create_archive
...to take advantage of the aio::Encoder from the pxar create.

Rather straightforward conversion, but does require getting rid of
references in the Archiver struct, and thus has to be given the Mutex
for the catalog directly. The callback is boxed.

archive_dir_contents can call itself recursively, and thus needs to
return a boxed future.

Users are adjusted, namely PxarBackupStream is converted to use an
Abortable future instead of a thread so it supports async in its handler
function, and the pxar bin create_archive is converted to an async API
function. One test case is made to just use 'block_on'.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-02-17 09:24:20 +01:00
..
proxmox_backup_client client: track key source, print when used 2021-02-06 09:07:31 +01:00
proxmox_backup_manager proxmox-backup-manger verify-job CLI 2021-02-11 14:06:44 +01:00
proxmox_tape tape: implement API to run tape backup jobs 2021-02-15 11:09:30 +01:00
docgen.rs tape: add tape-job.cfg manual page 2021-02-15 07:05:39 +01:00
dump-backup-api.rs move api dump binaries back to src/bin for package building 2020-06-16 14:48:01 +02:00
dump-catalog-shell-cli.rs move api dump binaries back to src/bin for package building 2020-06-16 14:48:01 +02:00
dump-reader-api.rs move api dump binaries back to src/bin for package building 2020-06-16 14:48:01 +02:00
pmt.rs install pmt binary 2021-02-05 12:42:20 +01:00
pmtx.rs doc: improve pmt/pmtx manual pages 2021-02-06 16:50:56 +01:00
proxmox-backup-api.rs tape: add media state database 2020-12-09 11:21:56 +01:00
proxmox-backup-banner.rs s/pbsbanner/proxmox-backup-banner/ + move to /usr/lib 2020-02-10 14:43:28 +01:00
proxmox-backup-client.rs client: move test output files to target/testout 2021-02-08 09:52:16 +01:00
proxmox-backup-manager.rs proxmox-backup-manger verify-job CLI 2021-02-11 14:06:44 +01:00
proxmox-backup-proxy.rs proxmox-backup-proxy: schedule tape backup jobs 2021-02-15 08:30:42 +01:00
proxmox-daily-update.rs clippy: more misc fixes 2021-01-26 09:54:55 +01:00
proxmox-tape.rs tape: add tape backup job configuration 2021-02-14 10:35:51 +01:00
pxar.rs asyncify pxar create_archive 2021-02-17 09:24:20 +01:00
sg-tape-cmd.rs tape: change code hierarchy to improve docs 2021-01-21 17:12:01 +01:00