lkml.org 
[lkml]   [1998]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.1.108: file sizes > 2GB with ext2?
Date
> 
> >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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.099 / U:3.848 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site