From: Petr Vorel <pvorel@suse.cz>
To: Wei Gao <wegao@suse.com>, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v1] zram01.sh: Increase timeout for check_read_mem_used_total
Date: Tue, 7 May 2024 08:41:09 +0200 [thread overview]
Message-ID: <20240507064109.GA84245@pevik> (raw)
In-Reply-To: <20240418142202.GA100561@pevik>
Hi all,
> Hi all,
> > Signed-off-by: Wei Gao <wegao@suse.com>
...
> > diff --git a/testcases/kernel/device-drivers/zram/zram01.sh b/testcases/kernel/device-drivers/zram/zram01.sh
> > index 0c100b706..959dab217 100755
> > --- a/testcases/kernel/device-drivers/zram/zram01.sh
> > +++ b/testcases/kernel/device-drivers/zram/zram01.sh
> > @@ -155,7 +155,7 @@ zram_fill_fs()
> > continue
> > fi
> > - TST_RETRY_FUNC "check_read_mem_used_total /sys/block/zram$i/mm_stat" 0
> > + TST_RETRY_FN_EXP_BACKOFF "check_read_mem_used_total /sys/block/zram$i/mm_stat" 0 10
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
> Sounds ok for me to avoid timeout.
> @Cyril, @Li WDYT? Or do you smell bug we try to cover?
FYI merged. Thanks!
Kind regards,
Petr
> Kind regards,
> Petr
> > mem_used_total=$(read_mem_used_total /sys/block/zram$i/mm_stat)
> > tst_res TINFO "mem_used_total: $mem_used_total"
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2024-05-07 6:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-11 4:46 [LTP] [PATCH v1] zram01.sh: Increase timeout for check_read_mem_used_total Wei Gao via ltp
2024-04-18 14:22 ` Petr Vorel
2024-05-07 6:41 ` Petr Vorel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240507064109.GA84245@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=wegao@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).