throttle-groups.h (49d2165d7d6b589d1ea28b15a8874c417bdc55ed) | throttle-groups.h (27ccdd52598290f0f8b58be56e235aff7aebfaf3) |
---|---|
1/* 2 * QEMU block throttling group infrastructure 3 * 4 * Copyright (C) Nodalink, EURL. 2014 5 * Copyright (C) Igalia, S.L. 2015 6 * 7 * Authors: 8 * Benoît Canet <benoit.canet@nodalink.com> --- 24 unchanged lines hidden (view full) --- 33ThrottleState *throttle_group_incref(const char *name); 34void throttle_group_unref(ThrottleState *ts); 35 36void throttle_group_config(BlockDriverState *bs, ThrottleConfig *cfg); 37void throttle_group_get_config(BlockDriverState *bs, ThrottleConfig *cfg); 38 39void throttle_group_register_blk(BlockBackend *blk, const char *groupname); 40void throttle_group_unregister_blk(BlockBackend *blk); | 1/* 2 * QEMU block throttling group infrastructure 3 * 4 * Copyright (C) Nodalink, EURL. 2014 5 * Copyright (C) Igalia, S.L. 2015 6 * 7 * Authors: 8 * Benoît Canet <benoit.canet@nodalink.com> --- 24 unchanged lines hidden (view full) --- 33ThrottleState *throttle_group_incref(const char *name); 34void throttle_group_unref(ThrottleState *ts); 35 36void throttle_group_config(BlockDriverState *bs, ThrottleConfig *cfg); 37void throttle_group_get_config(BlockDriverState *bs, ThrottleConfig *cfg); 38 39void throttle_group_register_blk(BlockBackend *blk, const char *groupname); 40void throttle_group_unregister_blk(BlockBackend *blk); |
41void throttle_group_restart_bs(BlockDriverState *bs); | 41void throttle_group_restart_blk(BlockBackend *blk); |
42 43void coroutine_fn throttle_group_co_io_limits_intercept(BlockDriverState *bs, 44 unsigned int bytes, 45 bool is_write); 46 47#endif | 42 43void coroutine_fn throttle_group_co_io_limits_intercept(BlockDriverState *bs, 44 unsigned int bytes, 45 bool is_write); 46 47#endif |