- 17 May, 2013 1 commit
-
-
Poul-Henning Kamp authored
decision point.
-
- 16 May, 2013 1 commit
-
-
Poul-Henning Kamp authored
-
- 15 May, 2013 38 commits
-
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
Document and be consistent about how log statements are printed. Make the dispatch-reported data be of struct VSL_transactions, and move the transaction metadata there. Add a verbose option.
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
Use the enum values where VSM_StillValid is used.
-
Martin Blix Grydeland authored
Let the functions returning counters take an optional fantom pointer, that can subsequently be used with VSM_StillValid to check for changes. Improve the VSC api documentation. Add missing VSM_StillValid funciton to the .map file.
-
Martin Blix Grydeland authored
This allows Dispatch to run completely in SHM with no copying for most cases, also when transactions come in multiple batches.
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
Introduce a VSLC_ptr type to represent a record pointer.
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
Move vtree.h from varnishtop to include directory so it's available for anyone. Simple proof-of-concept single regex against any log line query implementation.
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
Remove automagic reopening logic from vsl Make vsl use the new VSL_head structure Remove most of the old functionality
-
Martin Blix Grydeland authored
into the log.
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
Show UNSEEN in bottom bar when not hiding unseened counters
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
Add a VSC_Mgt() function to get direct access to the management counters Add VSC_MgtValid(), VSC_MainValid(), VSC_IterValid() functions that call VSM_StillValid on the fantom used to produce them. Use the iter fantom when making the pointer lists, so VSM_IterValid() returns the right result.
-
Martin Blix Grydeland authored
Clear the thread specific log pointer on log close Reenable building of varnishtest
-
Martin Blix Grydeland authored
VSC type defined in vsc_types.h Rearrange the VSC types according to relevance
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
Add global variables for the type name strings. Compile in static VSC type descriptions in libvarnishapi
-
Martin Blix Grydeland authored
Don't do automagic reopening in VSC Rename vf variables to fantom Keep a list of fantoms for the points, and point the points to these. This gets rid of the fantom struct on each point, and allows for StillValid checking on groups at a time instead for each point. Rename point's class to type to be consistent with VSM terminology More class->type renames Drop the type and ident pointers from VSC_point, and use the fantom's pointers instead. Reenable building of varnishstat Don't assert on VSM file closed in VSC_Iter. It's safe to proceed anyways and will produce a zero result in that case. This makes the function consistent with how the other functions behave.
-
Martin Blix Grydeland authored
Rename VSM_FOREACH_SAFE as it isn't really safe in the vqueue sense, and removing chunks from the VSM from the client library isn't applicable anyway. Make the VSM chunk marker sizes defines. Check for shm open in VSM__itern Revisit logic of VSM__itern: Make sure that the VSM_fantom is either changed to the next, or not changed at all. Add comments. Keep copies of class, type and ident in VSM_fantom, and use these when revalidating fantoms. Do a proper VSM_Open in varnishstat Add a VSM_ResetError function Differentiate between missing HEAD marker and zero alloc sequence. The latter is an indication Varnish isn't running, the former a corrupt file. Fix newline on diag messages for consistency. Fix return value check inversion bug on stat call in VSM_Abandoned() Don't assert on VSM_Open on an already open VSM. Report success instead.
-
Martin Blix Grydeland authored
-
Martin Blix Grydeland authored
segment. The API will use this counter to check for abandonment. Make use of the SHM age attribute in VSM_Abandoned. This gives a less expensive way (without doing stat syscall) to check for abandonment. If there's been more than 2 seconds between calls to VSM_Abandoned and the age attribute hasn't changed in between, the stat on the file will be performed to see if the SHM file has changed. VSM_Abandoned will be the standard way to check for SHM changes in API utilities, and when it returns true, the application is supposed to call VSM_Close and then VSM_Open to reopen the SHM file. Update Makefile.am in various places for build
-