Re: lz4hc compression in UBIFS?

From: Konstantin Tokarev
Date: Wed Oct 23 2013 - 03:40:42 EST




23.10.2013, 09:26, "Brent Taylor" <motobud@xxxxxxxxx>:
> Konstantin,
>    I did my testing with data from /dev/urandom (which I now realize
> wasn't the best choice of data source), but if I use /dev/zero (which
> actually causes data compression to occur), the decompressor fails.  I
> don't know the internal workings of the lz4hc compressor or the lz4
> decompressor.  I couldn't find any examples of any code in the kernel
> actually using the compressor.  I've cc'ed the maintainers of the
> lz4hc_compress.c to see if they my have some more insight to the
> issue.

Does decompressor fail for you with the same error messages?

Have you tried to copy my file to the volume? It looks like minimal test case
for my board, if I remove any line decompressor works fine.

--
Regards,
Konstantin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/