提交 0d2fac8e 编写于 作者: A Alberto Garcia 提交者: Kevin Wolf

throttle: Update throttle-groups.c documentation

There used to be throttle_timers_{detach,attach}_aio_context() calls
in bdrv_set_aio_context(), but since 7ca7f0f6
they are now in blk_set_aio_context().
Signed-off-by: NAlberto Garcia <berto@igalia.com>
Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: NKevin Wolf <kwolf@redhat.com>
上级 370e8328
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
* Again, all this is handled internally and is mostly transparent to * Again, all this is handled internally and is mostly transparent to
* the outside. The 'throttle_timers' field however has an additional * the outside. The 'throttle_timers' field however has an additional
* constraint because it may be temporarily invalid (see for example * constraint because it may be temporarily invalid (see for example
* bdrv_set_aio_context()). Therefore in this file a thread will * blk_set_aio_context()). Therefore in this file a thread will
* access some other BlockBackend's timers only after verifying that * access some other BlockBackend's timers only after verifying that
* that BlockBackend has throttled requests in the queue. * that BlockBackend has throttled requests in the queue.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册