Skip to contentSkip to conversation

read_all: skip eeprom and nvmem

PATCH New Jan Stancek 2 participants 3 messages Jan 24, 2020 – Jan 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 read_all: skip eeprom and nvmem

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.

---
 testcases/kernel/fs/read_all/read_all.c | 2 ++
 1 file changed, 2 insertions(+)
testcases/kernel/fs/read_all/read_all.c +2 -0
index 47f8532231d9..f091f2f64a4d 100644
@@ -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[] = {
Signature · 1 line
2.18.1
#1 lore raw

PATCH 1/1 read_all: skip eeprom and nvmem

Hi Jan,

Quoted 7 lines

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.

Kind regards,
Petr

#2 lore raw

PATCH 1/1 read_all: skip eeprom and nvmem

----- Original Message -----

Quoted 11 lines

Hi Jan,

Quoted 7 lines

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.

Thanks, pushed.