1 Commits

Author SHA1 Message Date
Chen Qun
4ff504f61f monitor: limit io error qmp event to at most once per 60s
The speed of BLOCK IO ERROR event maybe very high (thousands per
second).  If we report all BLOCK IO ERRORs, the log file will be flooded
with BLOCK IO ERROR event.  So throttle it to at most once per 60s.

Signed-off-by: Yan Wang <wangyan122@huawei.com>
Signed-off-by: imxcc <xingchaochao@huawei.com>
(cherry picked from commit 381b95fdf20ab5326ca1811155134a23fbc2046e)
2022-03-19 14:42:31 +08:00