Re: [RFC] Ext3 online defrag

Theodore Tso
2006-10-26T13:39:06Z

On Thu, Oct 26, 2006 at 04:36:48PM +1000, David Chinner wrote:
> > > Remember, I'm not just talking about defrag - I'm talking about
> > > an interface that is actually useful to apps that might care
> > > about how data is laid out on disk but the applications writers
> > > don't know anyhting about how filesystem X or Y or Z is
> > > implemented. Putting the burden of learning about fileystem
> > > internals on application developers is not the correct solution.

If all you want is something for applicaiton developers, about all you
can do is to tell the filesystem, "create the file so that it will be
quickly accessed after accessing this file or this directory". I
really don't see the point of having the application specify block
numbers if you're also claiming the applicaiton isn't going to know
anything about the filesystem layout --- or even the RAID layout of
the filesystem. I don't think it's at **all** useful to be
half-pregnant on this score.

- Ted