[master] e1e89d5 Document that the counters for locks are not atomic.

Poul-Henning Kamp phk at FreeBSD.org
Mon Nov 13 11:55:05 UTC 2017


commit e1e89d5ed6f31d1ac049c4b972c331a845525110
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Nov 13 11:40:56 2017 +0000

    Document that the counters for locks are not atomic.

diff --git a/bin/varnishd/VSC_lck.vsc b/bin/varnishd/VSC_lck.vsc
index 75b69be..1a6b6ee 100644
--- a/bin/varnishd/VSC_lck.vsc
+++ b/bin/varnishd/VSC_lck.vsc
@@ -9,6 +9,9 @@
 	Counters which track the activity in the different classes
 	of mutex-locks.
 
+	The counts may be slightly wrong if there are more than one
+	lock instantiated in each class (ie: .creat > 1)
+
 .. varnish_vsc:: creat
 	:type:	counter
 	:level:	debug


More information about the varnish-commit mailing list