zram: Set default compressor to zstd
This commit is contained in:
parent
803bfc3405
commit
9c6c01a0bd
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
config ZRAM
|
||||
tristate "Compressed RAM block device support"
|
||||
depends on BLOCK && SYSFS && ZSMALLOC && CRYPTO
|
||||
select CRYPTO_LZO
|
||||
select CRYPTO_ZSTD
|
||||
help
|
||||
Creates virtual block devices called /dev/zramX (X = 0, 1, ...).
|
||||
Pages written to these disks are compressed and stored in memory
|
||||
|
|
|
@ -59,7 +59,7 @@ static DEFINE_IDR(zram_index_idr);
|
|||
static DEFINE_MUTEX(zram_index_mutex);
|
||||
|
||||
static int zram_major;
|
||||
static const char *default_compressor = "lzo-rle";
|
||||
static const char *default_compressor = "zstd";
|
||||
|
||||
static bool is_lzorle;
|
||||
#ifdef CONFIG_ZRAM_LRU_WRITEBACK
|
||||
|
|
Loading…
Reference in a new issue