aboutsummaryrefslogtreecommitdiff
path: root/util/throttle.c
AgeCommit message (Expand)AuthorFilesLines
2023-08-29throttle: use THROTTLE_MAX/ARRAY_SIZE for hard codezhenwei pi1-5/+6
2023-08-29throttle: use enum ThrottleDirection instead of bool is_writezhenwei pi1-14/+17
2023-08-29throttle: support read-only and write-onlyzhenwei pi1-14/+28
2023-08-29throttle: introduce enum ThrottleDirectionzhenwei pi1-7/+9
2021-01-08Remove superfluous timer_del() callsPeter Maydell1-1/+0
2017-09-26throttle: Assert that bkt->max is valid in throttle_compute_wait()Alberto Garcia1-0/+1
2017-09-05block: convert ThrottleGroup to object with QOMManos Pitsidianakis1-0/+151
2017-08-29throttle: Make burst_length 64bit and add range checksAlberto Garcia1-0/+5
2017-08-29throttle: Make LeakyBucket.avg and LeakyBucket.max integer typesAlberto Garcia1-4/+3
2017-08-29throttle: Remove throttle_fix_bucket() / throttle_unfix_bucket()Alberto Garcia1-39/+23
2017-08-29throttle: Make throttle_is_valid() a bit less verboseAlberto Garcia1-8/+7
2017-08-29throttle: Update the throttle_fix_bucket() documentationAlberto Garcia1-8/+3
2017-07-18block: remove timer canceling in throttle_config()Manos Pitsidianakis1-14/+0
2017-07-18block: add clock_type field to ThrottleGroupManos Pitsidianakis1-1/+3
2017-04-21throttle: make throttle_config(throttle_get_config()) symmetricStefan Hajnoczi1-0/+14
2016-08-05throttle: Don't allow burst limits to be lower than the normal limitsAlberto Garcia1-0/+5
2016-06-07throttle: refuse iops-size without iops-total/read/writeStefan Hajnoczi1-0/+8
2016-03-22include/qemu/osdep.h: Don't include qapi/error.hMarkus Armbruster1-0/+1
2016-02-22throttle: Add support for burst periodsAlberto Garcia1-13/+60
2016-02-22throttle: Use throttle_config_init() to initialize ThrottleConfigAlberto Garcia1-0/+10
2016-02-22throttle: Merge all functions that check the configuration into oneAlberto Garcia1-32/+8
2016-02-22throttle: Make throttle_is_valid() set errpAlberto Garcia1-1/+4
2016-02-22throttle: Make throttle_max_is_missing_limit() set errpAlberto Garcia1-1/+4
2016-02-22throttle: Make throttle_conflicting() set errpAlberto Garcia1-2/+9
2016-02-22throttle: Make throttle_compute_timer() staticAlberto Garcia1-4/+4
2016-02-04util: Clean up includesPeter Maydell1-0/+1
2016-01-20blockdev: Error out on negative throttling option valuesFam Zheng1-10/+6
2015-08-05throttle: refuse bps_max/iops_max without bps/iopsStefan Hajnoczi1-0/+15
2015-07-20timer: rename NSEC_PER_SEC due to Mac OS X header clashStefan Hajnoczi1-2/+2
2015-07-02timer: Use a single definition of NSEC_PER_SEC for the whole codebaseAlberto Garcia1-2/+2
2015-06-12throttle: Update throttle infrastructure copyrightAlberto Garcia1-3/+5
2015-06-12throttle: Extract timers from ThrottleState into a separate structureBenoît Canet1-30/+43
2014-06-04throttle: add throttle_detach/attach_aio_context()Stefan Hajnoczi1-4/+23
2013-09-06throttle: Add a new throttling API implementing continuous leaky bucket.Benoît Canet1-0/+396