UBIFS: Is it possible to get the compressed size of a file?

Artem Bityutskiy dedekind1 at gmail.com
Tue Feb 3 01:07:14 PST 2015


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.




More information about the linux-mtd mailing list