On Aug 11, 2008 00:36 -0500, Eric Sandeen wrote: > Theodore Tso wrote: > > One of > > the things I've been meaning to do is to clean up the output of > > filefrag so that it's a bit easier to parse. It's really stupid for > > it to print "file is in extents format" over and over again... > > I'm not really even sure why it should print it at all, ever, at least > without -vvv or something. (That's what I meant to filter the first > time ;) If the tool is to report layout I'm not sure the trivia about > how the layout is tracked internally is all that interesting. The > fiemap patches for filefrag that print it out more as a table format, > more like xfs_bmap does, should be a lot better. But anyway... Actually, the FIEMAP patches for filefrag provide a much nicer format for the output, more like what xfs_bmap does. For now it only does this if requested with the "-e" option (--extents) but if Ted is not adverse to changing the output format of filefrag we could make it the default. The whole Lustre patchset (against 1.40.11) is at http://downloads.lustre.org/public/tools/e2fsprogs/latest/e2fsprogs-1.40.11-sun1-patches.tar.gz but Kalpak or I can send just the FIEMAP one again if you are interested. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc. -- 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