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]>
> Something else is wrong.

Maybe. Hm. How is the fetched size reported back to nnpfs in the
kernel? Seems to me that nnpfs thinks the file has the following sizes
(4M fetchsize):

0
4M
8M
.
.                  
2^32-8M            <--+
2^32-4M               |
2^32                  |
2^32+4M modulo 2^32   |
2^32+8M modulo 2^32   |
.                     |
.                     |
filesize modulo 2^32--+

nnpfs loops like this.


While arlad has fetched everything up to 2^32-8M and is "done".


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.