1. 15 May, 2013 7 commits
    • Martin Blix Grydeland's avatar
      Various VSM changes · 23f828a7
      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.
      23f828a7
    • Martin Blix Grydeland's avatar
      162a06ea
    • Martin Blix Grydeland's avatar
      Keep an age counter in VSM_Head that will show the age of this SHM · d9f7cd52
      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
      d9f7cd52
    • Martin Blix Grydeland's avatar
      Add SLT_Begin records at start of every new vxid transaction. · b3a461f3
      Martin Blix Grydeland authored
      Format: <type> <parent-vxid>
      
      Add SLT_End records at the end of all vxid transactions.
      
      Add SLT_Link records whenever one initiates a new child transation.
      Format: <type-of-child> <child-vxid>
      
      This is used by VSL api to form structured log output.
      b3a461f3
    • Martin Blix Grydeland's avatar
    • Martin Blix Grydeland's avatar
      Add management shared memory counters. Add MGT.uptime management · eeef8c2b
      Martin Blix Grydeland authored
      process uptime counter.
      eeef8c2b
    • Per Buer's avatar
      Make the reason phrase optional. · bcdf4f12
      Per Buer authored
      Basically the backend can drop the reason (OK) when responding to
      a probe without Varnish declaring the backend sick.
      Reported by astrosti on https://www.varnish-cache.org/forum/topic/961
      bcdf4f12
  2. 14 May, 2013 2 commits
  3. 13 May, 2013 6 commits
  4. 12 May, 2013 2 commits
  5. 08 May, 2013 1 commit
  6. 07 May, 2013 3 commits
  7. 06 May, 2013 12 commits
  8. 04 May, 2013 3 commits
  9. 03 May, 2013 4 commits