[PATCH] ubifs: Add support for zstd compression.

Richard Weinberger richard at nod.at
Fri Jun 7 13:49:52 PDT 2019

----- Ursprüngliche Mail -----
> Von: "Emil Lenngren" <emil.lenngren at gmail.com>
> An: "richard" <richard at nod.at>
> CC: "linux-mtd" <linux-mtd at lists.infradead.org>, "Sebastian Andrzej Siewior" <sebastian at breakpoint.cc>, "linux-kernel"
> <linux-kernel at vger.kernel.org>, "Michele Dionisio" <michele.dionisio at gmail.com>
> Gesendet: Freitag, 7. Juni 2019 22:27:09
> Betreff: Re: [PATCH] ubifs: Add support for zstd compression.
>> So I'm not sure what is the best choice for the default filesystem.
> My idea was at the end, i.e. it will only be used when LZO and ZLIB
> are not selected to be included for UBIFS, for example when someone
> compiles a minimal kernel who knows exactly which compression
> algorithms will be used on that system.

BTW: you can always select the compressor using the compr= mount option.
Also for the default filesystem.

Putting it at the end does not harm but IMHO the use is little.
But for the sake of completes, I agree with you. Can you send a follow-up

> I did a single test today and compared lzo and zstd and on that test
> lzo had faster decompression speed but resulted in larger space. I'll
> do more tests later.

Can you please share more details? I'm interested what CPU this was.


More information about the linux-mtd mailing list