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
> [ ... ]
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