On Apr 30, 2007 08:09 -0400, Theodore Tso wrote: > On Fri, Apr 27, 2007 at 12:09:42PM -0600, Andreas Dilger wrote: > > I'd prefer that such functionality be integrated with Takashi's online > > defrag tool, since it needs virtually the same functionality. For that > > matter, this is also very similar to the block-mapped -> extents tool > > from Aneesh. It doesn't make sense to have so many separate tools for > > users, especially if they start interfering with each other (i.e. defrag > > undoes the remapping done by your tool). > > While we're at it, someone want to start thinking about on-line > shrinking of ext4 filesystems? Again, the same block remapping > interfaces for defrag and file access optimizations should also be > useful for shrinking filesystems (even if some of the files that need > to be relocated are being actively used). If not, that probably means > we got the interface wrong. Except one other issue with online shrinking is that we need to move inodes on occasion and this poses a bunch of other problems over just remapping the data blocks. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. - 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