[LTP] [PATCH 3/3] zram/zram_lib.sh: set the compression algorithms back to default after test

Petr Vorel pvorel@suse.cz
Tue Mar 17 19:21:20 CET 2020


Hi Po-Hsu,

> Set the compression algorithm back to the default one in the end of the
> zram_compress_alg() test.

Why is this needed? We remove zram in zram_cleanup() anyway.
This would make sense if we detect whether zram was loaded before testing and
try to restore the setup of originally loaded module instead of always removing it.

Kind regards,
Petr


More information about the ltp mailing list