Re: VFS 64-bit clean? Not yet (was Re: large-file-system)

Stephen C. Tweedie (sct@dcs.ed.ac.uk)
Mon, 16 Feb 1998 19:46:02 GMT


On Mon, 16 Feb 1998 09:02:25 -0500 (EST), chip@atlantic.net said:

>> It can. NFS V3 is 64bit and needs to put 64bit values in the page
>> cache to get full results.

> But does it need to store _arbitrary_ 64-bit values, or does it just
> need to store the offsets of the mapped pages used by the given Linux
> machine? If the latter, then the original plan would have worked,
> up until someone accessed a 1024G file.

That's still an arbitrary imposition upon the filesystem. You are
taking a 64-bit-clean standard and hobbling it by throwing away the top
bits. You don't need to have a full 1024G of data to have a file which
is longer than that --- Unix (including Linux) supports sparse files
quite well. If sparse files larger than 1024G are possible right now,
then we might as well bite the bullet and do the job right first time.
It will save coming back to the same problem time after time until we
finally get the interface completely 64-bit clean.

Cheers,
Stephen.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu