Re: a refresh problem?

From: Stewart Forster <slf@dont-contact.us>
Date: Wed, 25 Feb 1998 15:50:32 +1100

--MimeMultipartBoundary
Content-Type: text/plain; charset=us-ascii

Hiya,

>
> For sanity, I changed this to..
>
> "Michael O'Reilly" <michael@metal.iinet.net.au> writes:
> > static void
> > storeClientFileRead(store_client * sc)
> > {
> > MemObject *mem = sc->entry->mem_obj;
> > assert(sc->callback != NULL);
> > if (mem->swap_hdr_sz == 0)
> > file_read(sc->swapin_fd,
> > memAllocate(MEM_DISK_BUF, 1),
> > DISK_PAGE_SIZE, <-------------- this is the problem
> > as far as I can see. Should be
> > sc->copy_size here.
>
> XMIN(DISK_PAGE_SIZE, sc->copy_size),
>
>
> > 0,
> > storeClientReadHeader,
> > sc);
> > else
> > [ ... ]
>

        ...and after doing this do you then get

Assertion failed: lowest_offset >= mem->inmem_lo, file store_swapout.c, line
131

        Something screwy...

                Stew.

--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:47 MDT

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