diff options
author | Dave Rodgman | 2019-03-13 19:44:26 +0100 |
---|---|---|
committer | Linus Torvalds | 2019-03-14 22:36:20 +0100 |
commit | ce82f19fd5809f0cf87ea9f753c5cc65ca0673d6 (patch) | |
tree | f3ea346af2154ca68562ff9dc2727fb4380e959a /drivers/block | |
parent | filemap: pass vm_fault to the mmap ra helpers (diff) | |
download | kernel-qcow2-linux-ce82f19fd5809f0cf87ea9f753c5cc65ca0673d6.tar.gz kernel-qcow2-linux-ce82f19fd5809f0cf87ea9f753c5cc65ca0673d6.tar.xz kernel-qcow2-linux-ce82f19fd5809f0cf87ea9f753c5cc65ca0673d6.zip |
zram: default to lzo-rle instead of lzo
lzo-rle gives higher performance and similar compression ratios to lzo.
Link: http://lkml.kernel.org/r/20190205155944.16007-4-dave.rodgman@arm.com
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/zram/zram_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index 04ca65912638..e7a5f1d1c314 100644 --- a/drivers/block/zram/zram_drv.c +++ b/drivers/block/zram/zram_drv.c @@ -41,7 +41,7 @@ static DEFINE_IDR(zram_index_idr); static DEFINE_MUTEX(zram_index_mutex); static int zram_major; -static const char *default_compressor = "lzo"; +static const char *default_compressor = "lzo-rle"; /* Module params (documentation at end) */ static unsigned int num_devices = 1; |