]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Fri, 2 Jun 2000 23:30:48 +0000 (23:30 +0000)
committerwessels <>
Fri, 2 Jun 2000 23:30:48 +0000 (23:30 +0000)
 - Removed duplicat occurance of "storeSwapOut: Deferring starting
   swapping out".

src/store_swapout.cc

index 7b6263b62dffe1e8c374ec758c03aaaf805ae19e..2027d00a77f4e95cb4a654ae0e125e9d7749f00f 100644 (file)
@@ -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);