So here is an implementation of fiemap's range query. The only major change apart from range support is that for files which consists of only a hole fiemap will print a line saying so, rather than being silent. Naturally, this breaks a bunch of generic fstests but I've attached fixes for them. The code also comes with xfstests. Furthermore, I've verified that none of the generic tests fail with this implementation apart from those tests which I've fixed. V2: Considered all of Darrick's review for the preivous posting, as a result this is being posted as the fiemap patches coupled with the xfstest patches. Nikolay Borisov (2): fiemap: Factor out actual fiemap call code fiemap: Implement ranged query io/fiemap.c | 110 +++++++++++++++++++++++++++++++++++++++++++----------- man/man8/xfs_io.8 | 5 ++- 2 files changed, 92 insertions(+), 23 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html