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. Have you looked at XFS's ioctl XFS_IOC_SWAPEXT? That seems like a reasonably simple model to start with. Breifly, the idea there is that you create a new file, copy the file you wish to reorganize and then switch the extents. What the userspace does now it pretty simplistic but with some effort additional kernel interfaces could be added to make things a little more optimal globally where possible (a lot of the requirements are probably fs-specific though). - 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