[OpenAFS-devel] 1.3.86 LINUX largefile-support broken

chas@cmf.nrl.navy.mil chas@cmf.nrl.navy.mil
Mon, 01 Aug 2005 07:36:56 -0400


In message <42EE0716.4000102@rzg.mpg.de>,Hartmut Reuter writes:
>3 gb is under the 32bit line! if you try to write a 5 gb file you will 

i believe the 32-bit line is traditionally considered 2G.  from the
comments in afs, i would have guessed you were concerned about a
4G boundary:

src/afs/afs_dcache.c:afs_size_t afs_vmMappingEnd;       /* for large files (>= 2GB) the VM
src/afs/afs_init.c:    afs_vmMappingEnd = AFS_CHUNKBASE(0x7fffffff);

>see that this doesn't work correctly. It overwrites the begin of the 
>file with the part beyond the 4gb-line!

i will have to test this.  is it broken in the linux kernel fs
driver or in afs?