[pbs-devel] [PATCH proxmox-backup v2 0/4] improve datastore removal/creation

Dominik Csapak d.csapak at proxmox.com
Wed Jun 2 13:27:00 CEST 2021


by fixing the leftover datastore references
changing the api call that creates the datastore to use a worker
and shows a removal button in the gui

changes from v1:
* renamed one 'refresh_datstores' to 'notify_datastore_removed'
  (and the relevant command in the socket)
* changed the create api call to always use a worker,
  this makes it necessary to factor the creation code out, so that
  we can reuse it in /api2/node/disks/*.rs
* move the remove button from the datastore list to the
  datastore option view

Dominik Csapak (4):
  proxmox-backup-proxy: fix leftover references on datastore removal
  api2/config/datastore: change create datastore api call to a worker
  backup/chunk_store: optionally log progress on creation
  ui: DataStoreList: add remove button

 src/api2/config/datastore.rs     | 56 ++++++++++++++++++++++----------
 src/api2/node/disks/directory.rs | 15 +++++++--
 src/api2/node/disks/zfs.rs       | 14 +++++++-
 src/backup/chunk_store.rs        | 11 ++++---
 src/backup/datastore.rs          | 16 +++++++++
 src/bin/proxmox-backup-proxy.rs  | 11 +++++++
 src/server.rs                    |  8 +++++
 www/Utils.js                     |  1 +
 www/datastore/OptionView.js      | 30 +++++++++++++++++
 www/window/DataStoreEdit.js      |  1 +
 10 files changed, 139 insertions(+), 24 deletions(-)

-- 
2.20.1






More information about the pbs-devel mailing list