|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v2] Suppress CacheCreateSlab quota errors in release builds
CacheCreateSlab can hit quota errors during normal operation (e.g. high
network traffic).
Don't print the error message in release builds to avoid flooding the
logs.
Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>
---
src/xenbus/cache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/xenbus/cache.c b/src/xenbus/cache.c
index e58e2f9..eb7020d 100644
--- a/src/xenbus/cache.c
+++ b/src/xenbus/cache.c
@@ -457,10 +457,10 @@ fail3:
__CacheFree(Slab);
fail2:
- Error("fail2\n");
+ Error("fail2 (%08x)\n", status);
fail1:
- Error("fail1 (%08x)\n", status);
+ Trace("fail1 (%08x)\n", status);
return status;
}
--
2.54.0.windows.1
--
Ngoc Tu Dinh | Vates XCP-ng Developer
XCP-ng & Xen Orchestra - Vates solutions
web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |