Home
last modified time | relevance | path

Searched hist:"27 ccdd52598290f0f8b58be56e235aff7aebfaf3" (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/block/
H A Dthrottle-groups.cdiff 6bf77e1c2dc24da1bade16e8a9a637f3b127314d Mon Oct 17 10:46:02 CDT 2016 Alberto Garcia <berto@igalia.com> throttle: Correct access to wrong BlockBackendPublic structures

In 27ccdd52598290f0f8b58be56e235aff7aebfaf3 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>
diff 27ccdd52598290f0f8b58be56e235aff7aebfaf3 Mon Mar 21 06:56:44 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Move throttling fields from BDS to BB

This patch changes where the throttling state is stored (used to be the
BlockDriverState, now it is the BlockBackend), but it doesn't actually
make it a BB level feature yet. For example, throttling is still
disabled when the BDS is detached from the BB.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
H A Dqapi.cdiff 27ccdd52598290f0f8b58be56e235aff7aebfaf3 Mon Mar 21 06:56:44 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Move throttling fields from BDS to BB

This patch changes where the throttling state is stored (used to be the
BlockDriverState, now it is the BlockBackend), but it doesn't actually
make it a BB level feature yet. For example, throttling is still
disabled when the BDS is detached from the BB.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
H A Dblock-backend.cdiff 27ccdd52598290f0f8b58be56e235aff7aebfaf3 Mon Mar 21 06:56:44 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Move throttling fields from BDS to BB

This patch changes where the throttling state is stored (used to be the
BlockDriverState, now it is the BlockBackend), but it doesn't actually
make it a BB level feature yet. For example, throttling is still
disabled when the BDS is detached from the BB.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
H A Dio.cdiff 27ccdd52598290f0f8b58be56e235aff7aebfaf3 Mon Mar 21 06:56:44 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Move throttling fields from BDS to BB

This patch changes where the throttling state is stored (used to be the
BlockDriverState, now it is the BlockBackend), but it doesn't actually
make it a BB level feature yet. For example, throttling is still
disabled when the BDS is detached from the BB.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
/openbmc/qemu/include/block/
H A Dthrottle-groups.hdiff 27ccdd52598290f0f8b58be56e235aff7aebfaf3 Mon Mar 21 06:56:44 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Move throttling fields from BDS to BB

This patch changes where the throttling state is stored (used to be the
BlockDriverState, now it is the BlockBackend), but it doesn't actually
make it a BB level feature yet. For example, throttling is still
disabled when the BDS is detached from the BB.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
H A Dblock_int.hdiff 27ccdd52598290f0f8b58be56e235aff7aebfaf3 Mon Mar 21 06:56:44 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Move throttling fields from BDS to BB

This patch changes where the throttling state is stored (used to be the
BlockDriverState, now it is the BlockBackend), but it doesn't actually
make it a BB level feature yet. For example, throttling is still
disabled when the BDS is detached from the BB.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
/openbmc/qemu/include/sysemu/
H A Dblock-backend.hdiff 27ccdd52598290f0f8b58be56e235aff7aebfaf3 Mon Mar 21 06:56:44 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Move throttling fields from BDS to BB

This patch changes where the throttling state is stored (used to be the
BlockDriverState, now it is the BlockBackend), but it doesn't actually
make it a BB level feature yet. For example, throttling is still
disabled when the BDS is detached from the BB.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
/openbmc/qemu/
H A Dblockdev.cdiff 27ccdd52598290f0f8b58be56e235aff7aebfaf3 Mon Mar 21 06:56:44 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Move throttling fields from BDS to BB

This patch changes where the throttling state is stored (used to be the
BlockDriverState, now it is the BlockBackend), but it doesn't actually
make it a BB level feature yet. For example, throttling is still
disabled when the BDS is detached from the BB.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
H A Dblock.cdiff 27ccdd52598290f0f8b58be56e235aff7aebfaf3 Mon Mar 21 06:56:44 CDT 2016 Kevin Wolf <kwolf@redhat.com> block: Move throttling fields from BDS to BB

This patch changes where the throttling state is stored (used to be the
BlockDriverState, now it is the BlockBackend), but it doesn't actually
make it a BB level feature yet. For example, throttling is still
disabled when the BDS is detached from the BB.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>