lkml.org 
[lkml]   [2003]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Ext2-devel] Re: [RFC] extents support for EXT3
From
Date
Pavel Machek <pavel@ucw.cz> writes:

> Hi!
>
> > > > you get no real slowdown as far as rough benchmarks are concerned,
> > > > perhaps with a microbenchmark you would see one and also, doesn't it
> > > > take up more space to save the extent info and such? Either way, all of
> > > > it's real benefits occur on large files.
> > >
> > > IIRC, if your blocks are contiguous, you can save as soon as soon as the
> > > file size goes above one block (witout extents, the first 12 blocks are
> > > pointed to by what? I forget... :-/ )
> >
> > They are pointed to directly from the inode.
> >
> > In light of other concerns how reasonable is a switch to e2fsck that
> > will remove extents so people can downgrade filesystems?
>
> It is going to be non-trivial: downgrading filesystem will likely need
> free space. And now: what happens when there's no free space?

Having a full filesystem is generally a rare event. And the actual size
difference between an extent tree based solution and a block tree solution
is usually quite small.

And if it fails, well filesystems checkers are not required to succeed.
Safety wise it should be possible to allocate and probably even write
the entire block tree before the extent tree is removed so no data
should be lost.

Maybe downgrading is just silly but it is a nice option to have while
everything is still in development. For the most part people seem to
be completely capable of making a back up and totally recreating a
filesystem as people have shown. But if you are going to require that
what is the point of staying with the ext2 file format.


Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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