]> git.ipfire.org Git - thirdparty/squid.git/commit
Two storeSwapOut() changes:
authorwessels <>
Wed, 26 May 1999 09:08:12 +0000 (09:08 +0000)
committerwessels <>
Wed, 26 May 1999 09:08:12 +0000 (09:08 +0000)
commit614a44a6ed7c2dc13f4e6fe3a4ec5cadec37426f
tree8ecd168d9c9325306c954a65eefb8555a7ec8e0c
parent819244bf721c35d143ce755bcbed0ed39bee9b4a
Two storeSwapOut() changes:

1) with new store-FS scheme, we don't get write callbacks.  This means
we were getting some objects "stuck" because we had, say 32K in memory,
but only wrote 8K in storeSwapOut() and there was no signal to make
us write another block.  Now we write as many blocks as we can,
instead of just one.

2) Re-fixed the case where storeSwapOut() gets called because the
store_status has changed to STORE_OK, but there is no data to swap
out.  Now close the swapout file, as done at the end of storeSwapOut().
src/store_swapout.cc