]> git.proxmox.com Git - proxmox-backup.git/commit - src/api2/admin/datastore.rs
improve group/snapshot listing
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 12 Nov 2020 10:30:30 +0000 (11:30 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 18 Nov 2020 09:37:04 +0000 (10:37 +0100)
commit0d08fceeb9dc4f7da934b4d34ceb0447338eac45
treedb308047b7ae1d5d6f795632099aa44deaad2bc0
parent3c945d73c25b9115681a8a609141ab3e07ca1d3e
improve group/snapshot listing

by listing groups first, then filtering, then listing group snapshots.

this cuts down the number of openat/getdirents calls for users that just
have a partial view of the datastore.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/api2/admin/datastore.rs
src/backup/backup_info.rs