From: Sergey Senozhatsky Date: Mon, 7 Apr 2014 22:38:17 +0000 (-0700) Subject: zram: make compression algorithm selection possible X-Git-Tag: v3.15-rc1~57^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e46b8a030d76d3c94156c545c3f4c3676d813435;p=pandora-kernel.git zram: make compression algorithm selection possible Add and document `comp_algorithm' device attribute. This attribute allows to show supported compression and currently selected compression algorithms: cat /sys/block/zram0/comp_algorithm [lzo] lz4 and change selected compression algorithm: echo lzo > /sys/block/zram0/comp_algorithm Signed-off-by: Sergey Senozhatsky Acked-by: Minchan Kim Cc: Jerome Marchand Cc: Nitin Gupta Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed