]> git.ipfire.org Git - thirdparty/squid.git/commit - src/store.cc
- Fix up for swapout complete. Now always set the state to SWAPOUT_DONE
authorwessels <>
Thu, 30 Oct 1997 07:50:36 +0000 (07:50 +0000)
committerwessels <>
Thu, 30 Oct 1997 07:50:36 +0000 (07:50 +0000)
commit20cba4b43e14db5aa88c8d951e77a6ff34df4488
treefa58e23d7ab8968a045b0d106107d3d3e29baac2
parent2acf4be6811bab29c7b82483811a7a80293c4295
- Fix up for swapout complete.  Now always set the state to SWAPOUT_DONE
  and add the object size to the 'store_swap_size'.  The release call
  will free and subtract it.
- Change storeMaintainSwapSpace() and storeGetMemSpace().  Either the
  object is locked, or it can be removed.  For storeMaintainSwapSpace()
  if the objects age is less than the dynamic LRU value, then keep it
  around.  This may cause problems after a restart when the store linked
  list is not ordered.
src/store.cc