-
Alberto Garcia authored
In 27ccdd52 the throttling fields were moved from BlockDriverState to BlockBackend. However in a few cases the code started using throttling fields from the active BlockBackend instead of the round-robin token, making the algorithm behave incorrectly. This can cause starvation if there's a throttling group with several drives but only one of them has I/O. Cc: qemu-stable@nongnu.org Reported-by:
Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by:
Alberto Garcia <berto@igalia.com>
Reviewed-by:
Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>Alberto Garcia authoredIn 27ccdd52 the throttling fields were moved from BlockDriverState to BlockBackend. However in a few cases the code started using throttling fields from the active BlockBackend instead of the round-robin token, making the algorithm behave incorrectly. This can cause starvation if there's a throttling group with several drives but only one of them has I/O. Cc: qemu-stable@nongnu.org Reported-by:
Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by:
Alberto Garcia <berto@igalia.com>
Reviewed-by:
Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Loading