Skip to contentSkip to conversation

Reduce writev03 fuzzy_sync timeout

PATCH New Martin Doucha 4 participants 4 messages Feb 25, 2021 – Mar 1, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Reduce writev03 fuzzy_sync timeout

Writev03 is fairly slow and tests multiple filesystems, each getting another round of timeout. Reduce fuzzy sync time limit to 25% of standard timeout to make the test finish slightly faster.

---
 testcases/kernel/syscalls/writev/writev03.c | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/syscalls/writev/writev03.c +1 -0
index 4dc55c191..6514404e6 100644
@@ -49,6 +49,7 @@ static void setup(void)
 	mapfd = SAFE_OPEN(MAPFILE, O_CREAT|O_RDWR|O_TRUNC, 0644);
 	SAFE_WRITE(1, mapfd, buf, BUF_SIZE);
 
+	fzsync_pair.exec_time_p = 0.25;
 	tst_fzsync_pair_init(&fzsync_pair);
 }
 
Signature · 1 line
2.30.0
#1 lore raw

PATCH 1/1 Reduce writev03 fuzzy_sync timeout

Hi Martin,

Quoted 5 lines

Writev03 is fairly slow and tests multiple filesystems, each getting another round of timeout. Reduce fuzzy sync time limit to 25% of standard timeout to make the test finish slightly faster.

LGTM

Quoted 15 lines
---
 testcases/kernel/syscalls/writev/writev03.c | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/syscalls/writev/writev03.c +1 -0
index 4dc55c191..6514404e6 100644
@@ -49,6 +49,7 @@ static void setup(void)
 	mapfd = SAFE_OPEN(MAPFILE, O_CREAT|O_RDWR|O_TRUNC, 0644);
 	SAFE_WRITE(1, mapfd, buf, BUF_SIZE);
 
+	fzsync_pair.exec_time_p = 0.25;
 	tst_fzsync_pair_init(&fzsync_pair);
 }
#2 lore raw

PATCH 1/1 Reduce writev03 fuzzy_sync timeout

In reply to Martin Doucha

Hello,

Quoted 23 lines · Martin Doucha

Writev03 is fairly slow and tests multiple filesystems, each getting another round of timeout. Reduce fuzzy sync time limit to 25% of standard timeout to make the test finish slightly faster.

---
 testcases/kernel/syscalls/writev/writev03.c | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/syscalls/writev/writev03.c +1 -0
index 4dc55c191..6514404e6 100644
@@ -49,6 +49,7 @@ static void setup(void)
 	mapfd = SAFE_OPEN(MAPFILE, O_CREAT|O_RDWR|O_TRUNC, 0644);
 	SAFE_WRITE(1, mapfd, buf, BUF_SIZE);
 
+	fzsync_pair.exec_time_p = 0.25;
 	tst_fzsync_pair_init(&fzsync_pair);
 }
 
Signature · 1 line
2.30.0

LGTM.

Signature · 2 lines
Thank you,
Richard.
#3 lore raw

PATCH 1/1 Reduce writev03 fuzzy_sync timeout

Patch applied, thanks!

Signature · 5 lines
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210301/97b831d9/attachment.htm>