[LTP] [PATCH 3/3] zram/zram_lib.sh: set the compression algorithms back to default after test
Po-Hsu Lin
po-hsu.lin@canonical.com
Thu Mar 19 15:39:57 CET 2020
Hello Petr,
Yes you're right, the zram_cleanup() will kick in after zram01.sh finishes,
so this can be dropped for the moment I think.
Thanks for the review!
On Wed, Mar 18, 2020 at 2:21 AM Petr Vorel <pvorel@suse.cz> wrote:
>
> 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