On Tue, May 09, 2000 at 01:13:34AM -0700, Benhanokh Gabriel wrote:
> > Correction for you. EXT2 handles file sizes exceeding 2GB just
> > fine. Other aspects of the system don't allow it at 32-bit
> > machines before 2.4 (and matching glibc).
> so will ext2fs be able to handle bigger than 2GB files on kernel 2.4 ?
> or that it needs a totsl rewrite to do so?
I repeat: EXT2 handles file sizes exceeding 2G just fine.
It has done so since kernel version 1.1.something.
I have been happy user of files larger than 2G at my 64-bit
Alphas ever since then.
VFS subsystem, and page cache have been modified a few months ago
to allow them to handle file sizes exceeding 2G at 32 bit machines.
Current maximum VFS supported file size at 32-bit machines is
2G * PAGE_CACHE_SIZE
which seems to be 2G * (2 << 12) = 2^(31+12) = 2^43 = 8 * 1024 GB
What EXT2FS allows as max size is another story:
( (FS_block_size ^ 4)/ 64 + epsilon )
* 512 2 GB + epsilon
* 1k 16 GB + epsilon
* 2k 128 GB + epsilon
* 4k 1024 GB + epsilon
* 8k 8192 GB + epsilon ( not without PAGE_SIZE >= 8 kB )
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:12 EST