public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCHv2 0/3] zram/zram_lib.sh: fix zram_compress_alg() test for zram01
@ 2019-07-10  7:23 Po-Hsu Lin
  2019-07-10  7:23 ` [LTP] [PATCHv2 1/3] zram/zram_lib.sh: fix variable name and algorithm retrieval Po-Hsu Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Po-Hsu Lin @ 2019-07-10  7:23 UTC (permalink / raw)
  To: ltp

The zram_compress_alg() test in zram01 is not working properly, this
patchset will address the following issues:
  1. Inconsistent variable name for compression algorithms, and the
     algorithm name needs to be sanitized before use.
  2. Hard-coded block device numbers to iterate with. If the number of
     the available zram compression algorithms is larger than the
     number of block devices, the test will fail.
  3. Restore the compression algorithm back to the default one.

Po-Hsu Lin (3):
  zram/zram_lib.sh: fix variable name and algorithm retrieval
  zram/zram_lib.sh: iterate through all available compression algorithms
    for all zram block devices
  zram/zram_lib.sh: set the compression algorithms back to default after
    test

 .../kernel/device-drivers/zram/zram_lib.sh    | 24 +++++++++++++------
 1 file changed, 17 insertions(+), 7 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-03-19 14:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-10  7:23 [LTP] [PATCHv2 0/3] zram/zram_lib.sh: fix zram_compress_alg() test for zram01 Po-Hsu Lin
2019-07-10  7:23 ` [LTP] [PATCHv2 1/3] zram/zram_lib.sh: fix variable name and algorithm retrieval Po-Hsu Lin
2020-02-21  5:59   ` Petr Vorel
2020-03-02  7:12     ` Po-Hsu Lin
2020-03-17 17:44       ` Petr Vorel
2019-07-10  7:23 ` [LTP] [PATCHv2 2/3] zram/zram_lib.sh: iterate through all available compression algorithms for all zram block devices Po-Hsu Lin
2019-07-10  7:23 ` [LTP] [PATCH 3/3] zram/zram_lib.sh: set the compression algorithms back to default after test Po-Hsu Lin
2020-03-17 18:21   ` Petr Vorel
2020-03-19 14:39     ` Po-Hsu Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox