* [LTP] [PATCH] read_all: skip eeprom and nvmem
@ 2020-01-24 14:56 Jan Stancek
2020-01-28 21:30 ` Petr Vorel
0 siblings, 1 reply; 3+ messages in thread
From: Jan Stancek @ 2020-01-24 14:56 UTC (permalink / raw)
To: ltp
Big Power9 NV systems are failing to complete the test, as they
spend lot of time on /sys/devices/platform, trying to read dozens
of low level files like eeprom or nvmem. Each adds couple seconds,
eventually pushing test over timeout.
User or system admin is unlikely to ever need to access these
entries, so skip them.
Signed-off-by: Jan Stancek <jstancek@redhat.com>
---
testcases/kernel/fs/read_all/read_all.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testcases/kernel/fs/read_all/read_all.c b/testcases/kernel/fs/read_all/read_all.c
index 47f8532231d9..f091f2f64a4d 100644
--- a/testcases/kernel/fs/read_all/read_all.c
+++ b/testcases/kernel/fs/read_all/read_all.c
@@ -85,6 +85,8 @@ static char *blacklist[] = {
NULL, /* reserved for -e parameter */
"/sys/power/wakeup_count",
"/sys/kernel/debug/*",
+ "/sys/devices/platform/*/eeprom",
+ "/sys/devices/platform/*/nvmem",
};
static struct tst_option options[] = {
--
2.18.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [LTP] [PATCH] read_all: skip eeprom and nvmem
2020-01-24 14:56 [LTP] [PATCH] read_all: skip eeprom and nvmem Jan Stancek
@ 2020-01-28 21:30 ` Petr Vorel
2020-01-29 9:11 ` Jan Stancek
0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2020-01-28 21:30 UTC (permalink / raw)
To: ltp
Hi Jan,
> Big Power9 NV systems are failing to complete the test, as they
> spend lot of time on /sys/devices/platform, trying to read dozens
> of low level files like eeprom or nvmem. Each adds couple seconds,
> eventually pushing test over timeout.
> User or system admin is unlikely to ever need to access these
> entries, so skip them.
LGTM.
Acked-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LTP] [PATCH] read_all: skip eeprom and nvmem
2020-01-28 21:30 ` Petr Vorel
@ 2020-01-29 9:11 ` Jan Stancek
0 siblings, 0 replies; 3+ messages in thread
From: Jan Stancek @ 2020-01-29 9:11 UTC (permalink / raw)
To: ltp
----- Original Message -----
> Hi Jan,
>
> > Big Power9 NV systems are failing to complete the test, as they
> > spend lot of time on /sys/devices/platform, trying to read dozens
> > of low level files like eeprom or nvmem. Each adds couple seconds,
> > eventually pushing test over timeout.
>
> > User or system admin is unlikely to ever need to access these
> > entries, so skip them.
> LGTM.
> Acked-by: Petr Vorel <pvorel@suse.cz>
Thanks, pushed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-01-29 9:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-24 14:56 [LTP] [PATCH] read_all: skip eeprom and nvmem Jan Stancek
2020-01-28 21:30 ` Petr Vorel
2020-01-29 9:11 ` Jan Stancek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox