Subject: Re: Re: Shrinking ext3 directories



On Monday 24 June 2002 16:35, Stephen Tweedie wrote:
> Hi,
>
> On Sat, Jun 22, 2002 at 08:33:56PM +0200, Daniel Phillips <phillips@xxxxxxxx>
> wrote:
> > On Saturday 22 June 2002 08:56, Andreas Dilger wrote:
> > > One things of note - it is currently impossible to have a directory with
> > > an i_size larger than 2GB, because i_size_high is really i_dir_acl
> > > overloaded. Even though we don't need i_dir_acl anymore with EA's, all
> > > of the older kernels would break if they mounted such a filesystem.
> > > Whether they would be broken anyways trying to read a 2GB+ directory
> > > is another question entirely.
> >
> > I was going to ask you about that earlier - where do we lose the sign
> > bit?
>
> lseek(SEEK_CUR) requires the ability to do relative seeks, so off_t
> has to be signed. That's the only place which makes that restriction
> afaik, but it affects everything.

Yes, and that isn't allowed on Ext2 directories, correct? And seekdir doesn't
return a value at all.

--
Daniel


-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members!
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn


...



Privacy