Re: 4GB read limit with 0.42 and NetBSD 3.0/i386

Harald Barth <[email protected]>
Newsgroups gmane.comp.file-systems.arla.general
Message-ID <[email protected]>
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.