On Wed, Feb 01, 2023 at 04:12:34PM -0500, Stefan Hajnoczi wrote: > Signed-off-by: Stefan Hajnoczi <[email protected]> > --- > docs/system/qemu-block-drivers.rst.inc | 110 +++++++++++++++++++++++++ > 1 file changed, 110 insertions(+)
Reviewed-by: Eric Blake <[email protected]> > > diff --git a/docs/system/qemu-block-drivers.rst.inc > b/docs/system/qemu-block-drivers.rst.inc > index af72817763..ea4be5c210 100644 > --- a/docs/system/qemu-block-drivers.rst.inc > +++ b/docs/system/qemu-block-drivers.rst.inc > @@ -1004,3 +1004,113 @@ some additional tasks, hooking io requests. > .. option:: prealloc-size > > How much to preallocate (in bytes), default 128M. > + > +.. program:: filter-drivers > +.. option:: throttle > + > + The throttle filter driver rate limits I/O requests so that the given IOPS > + and bandwidth values are not exceeded. Limits are specified using the > + following syntax:: > + > + --object > '{"driver":"throttle-group","id":"tg0","limits":{"iops-total":2048,"bps-total":10485760}}' Is it worth adding spaces after the commas, since JSON permits that, to make the line a bit less cluttered? -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
