On Mon, Oct 23, 2006 at 02:27:10PM +0200, Jan Kara wrote: > 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). Now I don't have the > user space part that finds larger runs of free blocks and so on so that > it can really be used as a defragmenter. I just send this as a kind of > proof-of-concept to hear some comments. Attached is also a simple > program that demonstrates the use of the ioctl. Note that the ext2meta interface was developed precisely for that purpose. I would suggest using that, it's far better than an ioctl-based solution. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html