Re: [RFC] Ext3 online defrag

Alex Tomas
2006-10-23T14:31:40Z

>>>>> Theodore Tso (TT) writes:

TT> On Mon, Oct 23, 2006 at 02:27:10PM +0200, Jan Kara wrote:
>> Hello,
>>
>> I've written a simple patch implementing ext3 ioctl for file
>> relocation. Basically you call ioctl on a file, give it list of blocks
>> and it relocates the file into given blocks (provided they are still
>> free). The idea is to use it as a kernel part of ext3 online
>> defragmenter (or generally disk access optimizer).

isn't that a kernel responsbility to find/allocate target blocks?
wouldn't it better to specify desirable target group and minimal
acceptable chunk of free blocks?

thanks, Alex