]> git.ipfire.org Git - thirdparty/qemu.git/commit
block-backend: per-device throttling of BLOCK_IO_ERROR reports
authorLeonid Kaplan <xeor@yandex-team.ru>
Wed, 2 Oct 2024 15:18:06 +0000 (18:18 +0300)
committerKevin Wolf <kwolf@redhat.com>
Tue, 22 Oct 2024 15:52:49 +0000 (17:52 +0200)
commit2155d2dd7f733674586119b6b4ee0f52d2032779
tree82bad64fcf9295b3f64e3ac135d177579fc487a4
parent7452162adec25c1003d5bf0079aca52913a80e0c
block-backend: per-device throttling of BLOCK_IO_ERROR reports

BLOCK_IO_ERROR events comes from guest, so we must throttle them.
We still want per-device throttling, so let's use device id as a key.

Signed-off-by: Leonid Kaplan <xeor@yandex-team.ru>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20241002151806.592469-3-vsementsov@yandex-team.ru>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
monitor/monitor.c
qapi/block-core.json