[master] deafd59fc Dont abuse VSL's vxid, put fd# in message.

Poul-Henning Kamp phk at FreeBSD.org
Mon Oct 10 09:48:05 UTC 2022


commit deafd59fcd36e66f4942e76bb7b6992c45b36056
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Oct 10 09:46:54 2022 +0000

    Dont abuse VSL's vxid, put fd# in message.

diff --git a/bin/varnishd/waiter/cache_waiter_epoll.c b/bin/varnishd/waiter/cache_waiter_epoll.c
index b53e48e15..dca460ec9 100644
--- a/bin/varnishd/waiter/cache_waiter_epoll.c
+++ b/bin/varnishd/waiter/cache_waiter_epoll.c
@@ -134,7 +134,8 @@ vwe_thread(void *priv)
 			active = Wait_HeapDelete(w, wp);
 			Lck_Unlock(&vwe->mtx);
 			if (!active) {
-				VSL(SLT_Debug, wp->fd, "epoll: spurious event");
+				VSL(SLT_Debug, NO_VXID,
+				    "epoll: spurious event (%d)", wp->fd);
 				continue;
 			}
 			AZ(epoll_ctl(vwe->epfd, EPOLL_CTL_DEL, wp->fd, NULL));


More information about the varnish-commit mailing list