aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEmil Muratov <gpm@hotplug.ru>2018-08-02 00:15:44 +0300
committerJo-Philipp Wich <jo@mein.io>2018-12-18 17:22:04 +0100
commit5ff4ea6bc4d2bff3407e5ec509ff779ccf66782c (patch)
tree878d40585d50501c3de21b99040531495dcf7998 /include
parentafd6460418dfbe9ed370a4f9ce4a8fb202f4eb7d (diff)
downloadupstream-5ff4ea6bc4d2bff3407e5ec509ff779ccf66782c.tar.gz
upstream-5ff4ea6bc4d2bff3407e5ec509ff779ccf66782c.tar.bz2
upstream-5ff4ea6bc4d2bff3407e5ec509ff779ccf66782c.zip
zram-swap: compression algorithm configuration option
Compression algorithms for zram are provided by kernel crypto API, could be any of [lzo|zl4|deflate|<some_more>] depending on kernel modules. Compress algo for zram-swap could be defined via 'zram_comp_algo' option in 'system' section of '/etc/config/system' file, or via cli (for e.x. with 'uci set system.@System[0].zram_comp_algo=lz4 && uci commit system'). check available algo's via 'cat /sys/block/zram0 /comp_algorithm' Signed-off-by: Emil Muratov <gpm@hotplug.ru> (backported from b9e89adfb7881806d01e3bd259852e352f3b3ce8)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions