hi,
Usage: e4defrag -r directory...| device... e4defrag -r base_file move_file...<--- new
The new interface looks nice. As I see it's easy to implement cause only the main-function must be modified. If you have no objections, I will do it myself and send you the patch to review it.
I suspect the original idea would work better because it is more likely to pack the libs / files into perfectly contiguous block ranges.
I don't know if it makes a difference for the block allocator. Even though you know the size of all files to be moved.
For a better result, may it be possible to create a base_file whose inode is part of an empty block group?
Andreas -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html