[pbs-devel] [PATCH proxmox-backup 0/5] improve listing API

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Nov 12 11:30:29 CET 2020


mainly relevant for non-Datastore.Audit users

- reduce number of file accesses when listing datastore contents
- make status call as issued by PVE less expensive
- filter snapshot counts for unpriv. users

Fabian Grünbichler (5):
  improve group/snapshot listing
  api: make expensive parts of datastore status opt-in
  api: filter snapshot counts
  drop now unused BackupInfo::list_backups
  api: include store in invalid owner errors

 src/api2/admin/datastore.rs | 305 +++++++++++++++++++++---------------
 src/api2/types/mod.rs       |  18 ++-
 src/backup/backup_info.rs   |  16 +-
 www/datastore/Summary.js    |   2 +-
 4 files changed, 195 insertions(+), 146 deletions(-)

-- 
2.20.1






More information about the pbs-devel mailing list