1. 10 Jul, 2015 4 commits
  2. 08 Jul, 2015 3 commits
  3. 07 Jul, 2015 15 commits
  4. 06 Jul, 2015 6 commits
  5. 30 Jun, 2015 1 commit
  6. 29 Jun, 2015 8 commits
  7. 27 Jun, 2015 1 commit
  8. 26 Jun, 2015 2 commits
    • Nils Goroll's avatar
      Skip checks on pointers and work lists when at VSL_ENDMARKER · fa4f00e1
      Nils Goroll authored
      Safe a couple of needless calls to vslc_vsm_check when we know that
      there are no new records and this no need to check shm references /
      the next cursor.
      fa4f00e1
    • Nils Goroll's avatar
      Simplify vsl segment management, fixing spurious vsl overruns · 35cf7813
      Nils Goroll authored
      vsl sequence and segment updates didn't happen atomically, so
      vslc_vsm_check could report spurious overruns.
      
      Replace sequence and segment index with a counter (segment_n), which
      always increments (with overflow after UINT_MAX). The actual segment
      index will be segment_n % VSL_SEGMENTS. Overrun detection by
      calculation of the difference between two segment numbers becomes
      simple and safe because we only ever access/update a single integer.
      
      Update the shared memory log head.
      
      (struct VSLC_ptr).priv is now the the equivalent of segment_n from the
      reader side. It gets initialized once and is maintained independently.
      
      Patch prepared in collaboration with Martin Blix Grydeland
      <martin@varnish-software.com>
      
      Fixes: #1747
      35cf7813