[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH 2/2] rate limited log messages for storage errors
Signed-off-by Daniel Davis <daniel.davis@xxxxxxxxxx> --- src/xenvbd/ring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenvbd/ring.c b/src/xenvbd/ring.c index 431e1b5..f7356d5 100644 --- a/src/xenvbd/ring.c +++ b/src/xenvbd/ring.c @@ -1221,7 +1221,7 @@ __BlkifRingCompleteResponse( KeQuerySystemTime(&timeNow); //if last log message was less than 10 seconds ago - if (timeNow.QuadPart - BlkifRing->TimeOfLastErrorLog.QuadPart < 100000000) { + if (timeNow.QuadPart - BlkifRing->TimeOfLastErrorLog.QuadPart > (ULONGLONG) 100000000) { Warning("Target[%u][%u] : %s BLKIF_RSP_ERROR\n", FrontendGetTargetId(Frontend), BlkifRing->Index, -- 2.22.0.windows.1 _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |