Re: 1.2 problems on Solaris v2.5 (ss20)

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 18 Sep 1998 13:17:02 -0600

Alex Rousskov writes:

>On Thu, 17 Sep 1998, Alexander Serkin wrote:
>
>> > or
>> > Assertion failed: current_offset == target_offset,
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>OK. This bug is not covered by the first patch set for b24, I think. We have
>a maybe-fix and testing it for the next beta release.

Below is the patch which Alex refers to. Should only be needed for
Async IO users.

Index: store_swapout.c
===================================================================
RCS file: /surf1/CVS/squid/src/store_swapout.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -w -u -r1.31 -r1.32
--- store_swapout.c 1998/09/14 21:28:16 1.31
+++ store_swapout.c 1998/09/18 15:15:25 1.32
@@ -371,6 +371,8 @@
 static int
 storeSwapOutAble(const StoreEntry * e)
 {
+ if (e->swap_status == SWAPOUT_OPENING)
+ return 1;
     if (e->mem_obj->swapout.fd > -1)
        return 1;
     if (e->mem_obj->inmem_lo > 0)

Duane W.
Received on Fri Sep 18 1998 - 12:17:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:04 MST