Re: [RFC] Ext3 online defrag

Jeff Garzik
2006-10-25T02:42:57Z

On Wed, Oct 25, 2006 at 12:30:02PM +1000, Barry Naujok wrote:
> Could we have a more abstract method for asking the filesystem where the
> free blocks are and then using the same block addressing to tell the
> fs where to allocate/move the file's data to?

That's fundamentally racy, so you might as well just read the
filesystem metadata from userspace. No need to go through the kernel
for that.

Jeff