[PATCH] Xfsprogs: add fiemap command to xfs_io
Christoph Hellwig
hch at infradead.org
Tue Jan 18 06:49:04 CST 2011
On Fri, Jan 14, 2011 at 07:51:41AM -0500, Josef Bacik wrote:
> When trying to add a test for hole punching I noticed that the "bmap" command
> only works on XFS, which makes testing hole punching on other fs's kind of
> difficult. To fix this I've added an fiemap command that works almost exactly
> like bmap. It is formatted similarly and takes similar flags, the only thing
> thats different is obviously it doesn't spit out AG info and it doesn't make
> finding prealloc space optional. This is my first foray into all of this stuff
> so a good hard look would be appreciated. I tested it with a few different
> files to make sure bmap and fiemap both looked the same. Thanks,
Looks good to me.
More information about the xfs
mailing list