On Thu, May 29, 2008 at 10:51:34AM +1000, Dave Chinner wrote: > XFS has XFS_IOC_FSGETXATTR which can return the number of extents > on an inode. It's a total count, not a range count, so it's a bit > different to FIECOUNT and as such does not require walking the > extent list to retrieve (extent count is in the inode itself). What use is there geeting the extent count for a range? I'd rather do it only per-file like the xfs ioctl. > It's still not that straight forward as you have to encode count, > offset and length into a structure to pass into the ioctl. i.e. > is it really that much simpler and cleaner than just adding a > extra flag to FIEMAP? Yes :) -- 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