[master] 92a477ac3 Put fd# in VSL text, rather than VXID field.

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


commit 92a477ac3374795c003045dce4e5ea0ec5b6c91f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Oct 10 08:43:22 2022 +0000

    Put fd# in VSL text, rather than VXID field.

diff --git a/bin/varnishd/waiter/cache_waiter_poll.c b/bin/varnishd/waiter/cache_waiter_poll.c
index 3ff15321e..c3a7f9b78 100644
--- a/bin/varnishd/waiter/cache_waiter_poll.c
+++ b/bin/varnishd/waiter/cache_waiter_poll.c
@@ -98,7 +98,7 @@ vwp_add(struct vwp *vwp, struct waited *wp)
 {
 
 	CHECK_OBJ_NOTNULL(wp, WAITED_MAGIC);
-	VSL(SLT_Debug, wp->fd, "ADD");
+	VSL(SLT_Debug, NO_VXID, "vwp: ADD %d", wp->fd);
 	CHECK_OBJ_NOTNULL(vwp, VWP_MAGIC);
 	if (vwp->hpoll == vwp->npoll)
 		vwp_extend_pollspace(vwp);


More information about the varnish-commit mailing list