[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 2/3] QMP: rate limit BLOCK_IO_ERROR
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [RFC 2/3] QMP: rate limit BLOCK_IO_ERROR |
Date: |
Tue, 05 Aug 2014 06:14:52 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
On 07/23/2014 07:17 AM, Luiz Capitulino wrote:
> This event has the same characteristics of the other rate-limited
> events, mainly we can emit dozens of it. Rate limit it then.
>
> Signed-off-by: Luiz Capitulino <address@hidden>
> ---
> monitor.c | 1 +
> 1 file changed, 1 insertion(+)
It's not guest-triggered, per se, but can indeed flood management.
Reviewed-by: Eric Blake <address@hidden>
>
> diff --git a/monitor.c b/monitor.c
> index 5bc70a6..33abe6c 100644
> --- a/monitor.c
> +++ b/monitor.c
> @@ -589,6 +589,7 @@ static void monitor_qapi_event_init(void)
> monitor_qapi_event_throttle(QAPI_EVENT_QUORUM_REPORT_BAD, 1000);
> monitor_qapi_event_throttle(QAPI_EVENT_QUORUM_FAILURE, 1000);
> monitor_qapi_event_throttle(QAPI_EVENT_VSERPORT_CHANGE, 1000);
> + monitor_qapi_event_throttle(QAPI_EVENT_BLOCK_IO_ERROR, 1000);
>
> qmp_event_set_func_emit(monitor_qapi_event_queue);
> }
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [RFC 2/3] QMP: rate limit BLOCK_IO_ERROR,
Eric Blake <=