Re: [PATCH] ubifs: Add support for zstd compression.

2019-06-08 Thread Richard Weinberger
- Ursprüngliche Mail - > ARM Cortex-A7. The kernel is compiled with gcc 7.3.1. Next week I'll > test some more. Good to know! > I have a question about how the decompression is done while reading. > When a large file is read from the filesystem (assuming not in any > cache), is it the cas

Re: [PATCH] ubifs: Add support for zstd compression.

2019-06-07 Thread Emil Lenngren
uot; > > , "Michele Dionisio" > > > > 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

Re: [PATCH] ubifs: Add support for zstd compression.

2019-06-07 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Emil Lenngren" > An: "richard" > CC: "linux-mtd" , "Sebastian Andrzej Siewior" > , "linux-kernel" > , "Michele Dionisio" > > Gesendet: Freitag, 7. Juni 2019 22:27:09 > B

Re: [PATCH] ubifs: Add support for zstd compression.

2019-06-07 Thread Emil Lenngren
Hi, Den fre 7 juni 2019 kl 22:09 skrev Richard Weinberger : > > Emil, > > - Ursprüngliche Mail - > > In fs/ubifs/sb.c we have > > > > static int get_default_compressor(struct ubifs_info *c) > > { > >if (ubifs_compr_present(c, UBIFS_COMPR_LZO)) > >return UBIFS_COMPR_LZO; > > > >

Re: [PATCH] ubifs: Add support for zstd compression.

2019-06-07 Thread Richard Weinberger
Emil, - Ursprüngliche Mail - > In fs/ubifs/sb.c we have > > static int get_default_compressor(struct ubifs_info *c) > { >if (ubifs_compr_present(c, UBIFS_COMPR_LZO)) >return UBIFS_COMPR_LZO; > >if (ubifs_compr_present(c, UBIFS_COMPR_ZLIB)) >return UBIFS_COMPR_ZLIB

Re: [PATCH] ubifs: Add support for zstd compression.

2019-06-07 Thread Emil Lenngren
Hello, Den ons 15 maj 2019 kl 23:03 skrev Richard Weinberger : > > From: Michele Dionisio > > zstd shows a good compression rate and is faster than lzo, > also on slow ARM cores. > > Cc: Sebastian Andrzej Siewior > Signed-off-by: Michele Dionisio > [rw: rewrote commit message] > Signed-off-by:

Re: [PATCH] ubifs: Add support for zstd compression.

2019-05-16 Thread Sebastian Andrzej Siewior
On 2019-05-15 23:02:02 [+0200], Richard Weinberger wrote: That is a lot less compared to what I needed for mkfs.ubifs. I just tested this in nandsim and it works - I can read the image generated by mkfs. As for my compression level testing: Do we want to keep -L parameter or rather drop it? The m

[PATCH] ubifs: Add support for zstd compression.

2019-05-15 Thread Richard Weinberger
From: Michele Dionisio zstd shows a good compression rate and is faster than lzo, also on slow ARM cores. Cc: Sebastian Andrzej Siewior Signed-off-by: Michele Dionisio [rw: rewrote commit message] Signed-off-by: Richard Weinberger --- fs/ubifs/Kconfig | 10 ++ fs/ubifs/compress