cloud-hypervisor/rate_limiter
Thomas Barrett c71da496c0 rate_limiter: add RateLimiterGroup
Add a 'rate_limiter/group' module that defines the RateLimiterGroup
and a RateLimiterGroupHandle types.

The RateLimiterGroupHandle can be used in place of a RateLimiter to
limit the aggregate bandwidth and/or ops of multiple virtio-blk or
virtio-net queues.

Each RateLimiterGroup has an associated worker thread that broadcasts
an event to each RateLimiterGroupHandle when a RateLimiter is unblocked.

Signed-off-by: Thomas Barrett <tbarrett@crusoeenergy.com>
2024-01-03 10:21:06 -08:00
..
src rate_limiter: add RateLimiterGroup 2024-01-03 10:21:06 -08:00
Cargo.toml rate_limiter: add RateLimiterGroup 2024-01-03 10:21:06 -08:00