[pbs-devel] [PATCH proxmox/proxmox-backup v3] tape: implement multithreaded read
Dominik Csapak
d.csapak at proxmox.com
Fri Feb 21 16:06:29 CET 2025
this is a replacement series for my previous patches[0]
I dropped the verification patches again, and moved the thread config to
the tape jobs/tape backup api. That way it's much nearer the actual
issue, and we don't run into problems with resource constraints, since
one job cannot run multiple times (if a user configures many jobs in
parallel, that must be deliberate then).
changes from v2:
* slight rewording of the commit message
* rebase on master (include pbs-api-types repo change)
* keep default to 1
* keep minimum of channel size 3
changes from v1:
* reordered code from verify,tape to tape,verify
* marked verify patches as rfc
* use a struct for saving the values in the datastore (as thomas
suggested)
* introduces another verify patch to merge the chunk loading into the
worker threads
0: https://lore.proxmox.com/pbs-devel/20240507072955.364206-1-d.csapak@proxmox.com/
proxmox:
Dominik Csapak (1):
pbs api types: tape backup job: add worker threads option
pbs-api-types/src/jobs.rs | 10 ++++++++++
1 file changed, 10 insertions(+)
proxmox-backup:
Dominik Csapak (1):
tape: introduce a tape backup job worker thread option
src/api2/config/tape_backup_job.rs | 8 ++++
src/api2/tape/backup.rs | 4 ++
src/tape/pool_writer/mod.rs | 14 ++++++-
src/tape/pool_writer/new_chunks_iterator.rs | 44 +++++++++++++--------
www/tape/window/TapeBackup.js | 12 ++++++
www/tape/window/TapeBackupJob.js | 14 +++++++
6 files changed, 79 insertions(+), 17 deletions(-)
--
2.39.5
More information about the pbs-devel
mailing list