4GB read limit with 0.42 and NetBSD 3.0/i386

Harald Barth haba at pdc.kth.se
Fri May 26 10:41:37 CEST 2006


> cvs rdiff -r1.5 -r1.6 arla/arlad/stats.h
> cvs rdiff -r1.12 -r1.13 arla/arlad/stats.c
> cvs rdiff -r1.99 -r1.100 arla/arlad/arla_local.h

Great Tol!

I combined this to the following which applies on
an arla 0.42 source:

patch -p1 < /afs/pdc.kth.se/home/h/haba/Public/arlad-fetch_block_size-64.patch

The actual value which was destroyed was wanted_lenght fcache.c:2438

2437    /* figure out how much more then we need we want to fetch */
2438    wanted_length = stats_fetch_round(conn, partition, entry->wanted_length);
2439    if (wanted_length > fcache_get_status_length(&entry->status))
2440	    wanted_length = fcache_get_status_length(&entry->status);

I looked at these lines sereral times before without seeing the problem.

Harald.


More information about the Arla-drinkers mailing list