From: wessels <> Date: Fri, 2 Jun 2000 23:30:48 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~1936 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13ee3edb2898c5203514530020defd24e564cd65;p=thirdparty%2Fsquid.git DW: - Removed duplicat occurance of "storeSwapOut: Deferring starting swapping out". --- diff --git a/src/store_swapout.cc b/src/store_swapout.cc index 7b6263b62d..2027d00a77 100644 --- a/src/store_swapout.cc +++ b/src/store_swapout.cc @@ -1,6 +1,6 @@ /* - * $Id: store_swapout.cc,v 1.69 2000/05/31 04:26:32 wessels Exp $ + * $Id: store_swapout.cc,v 1.70 2000/06/02 17:30:48 wessels Exp $ * * DEBUG: section 20 Storage Manager Swapout Functions * AUTHOR: Duane Wessels @@ -193,14 +193,6 @@ storeSwapOut(StoreEntry * e) if (storeTooManyDiskFilesOpen() && !fwdCheckDeferRead(-1, e)) return; } - /* - * Don't start swapping out until its either all in memory, or bigger - * than the maximum object size (so we pick a -1 maxobjsize fs) - */ - if ((e->store_status != STORE_OK) && (swapout_size < store_maxobjsize)) { - debug(20, 5) ("storeSwapOut: Deferring starting swapping out\n"); - return; - } /* Ok, we have stuff to swap out. Is there a swapout.sio open? */ if (e->swap_status == SWAPOUT_NONE) { assert(mem->swapout.sio == NULL);