1. 29 Jun, 2015 1 commit
  2. 27 Jun, 2015 1 commit
  3. 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
  4. 24 Jun, 2015 16 commits
  5. 23 Jun, 2015 4 commits
  6. 22 Jun, 2015 8 commits
  7. 18 Jun, 2015 2 commits
  8. 17 Jun, 2015 6 commits