Re: 2.1.108: file sizes > 2GB with ext2?

Perry Harrington (pedward@sun4.apsoft.com)
Wed, 29 Jul 1998 16:40:11 -0700 (PDT)


>
> >From: Steven Roberts <strobert@ata-sd.com>
> ...
> > Seomthing just hit me on this, does this mean ext2 partitions made on a
> > 64-bit arch aren't compatible with those made on a 32-bit arch (or is it
> > just a in running kernel sizeof(long) limitation)?
> >
> > Am shuffling some servers around and was about to move a drive from an
> > intel box to an alpha...
>
> This matter is about kernel VFS, and syscall parameter size
> limitation problems.
>
> Right now references to file offsets of over 2 GB in size are
> possible only at 64-bit systems due to the use of "long" type
> variable within the VFS layer.
>
> Using "long long" hasn't been considered viable alternative,
> due to performance penalties of related arithmetic code in i*86.

Why not use a double on machines which support a double in hardware?

>
> The maximum filesize at EXT2 (at the moment) is 4GB, and that
> is available at Alpha systems, not at i*86 architecture.
> We have known ways to add 16 bits to the length in the i-node,
> so that is not end of road for the filesystem (but wait for
> 2.3 ..)
>
> Filesystem maximum sizes have been in terabyte range for quite
> a while in all platforms.
>
> Some syscalls need to have new versions of them with large
> offset (64-bit) fields. That waits for 2.3.
>
> > Steve
>
> /Matti Aarnio <matti.aarnio@sonera.fi>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
>

-- 
Perry Harrington       Linux rules all OSes.    APSoft      ()
email: perry@apsoft.com 			Think Blue. /\

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html