On Mon, 2015-02-02 at 22:45 -0700, Andreas Dilger wrote: > I think FIEMAP would be a good userspace API to get this kind of > low-level allocation information about the compressed size of data. > For most files it would probably only need a single fiemap_extent > to return the allocation data. Thanks Andreas, indeed FIEMAP sounds like a good answer to the problem. Artem. -- 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