mirror of
https://github.com/jiangcuo/pve-storage.git
synced 2026-01-11 08:07:25 +00:00
Takes an operation, an optional requested bandwidth limit override, and a list of storages involved in the operation and lowers the requested bandwidth against global and storage-specific limits unless the user has permissions to change those. This means: * Global limits apply to all users without Sys.Modify on / (as they can change datacenter.cfg options via the API). * Storage specific limits apply to users without Datastore.Allocate access on /storage/X for any involved storage X. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
13 lines
254 B
Makefile
13 lines
254 B
Makefile
all: test
|
|
|
|
test: test_zfspoolplugin test_disklist test_bwlimit
|
|
|
|
test_zfspoolplugin: run_test_zfspoolplugin.pl
|
|
./run_test_zfspoolplugin.pl
|
|
|
|
test_disklist: run_disk_tests.pl
|
|
./run_disk_tests.pl
|
|
|
|
test_bwlimit: run_bwlimit_tests.pl
|
|
./run_bwlimit_tests.pl
|