Reduce writev03 fuzzy_sync timeout
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
@@ -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
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.
Signed-off-by Martin Doucha <[email protected]>
LGTM
Quoted 15 lines
--- testcases/kernel/syscalls/writev/writev03.c | 1 + 1 file changed, 1 insertion(+)testcases/kernel/syscalls/writev/writev03.c +1
-0@@ -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); }
PATCH 1/1 Reduce writev03 fuzzy_sync timeout
In reply to Martin DouchaHello,
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.
Signed-off-by Martin Doucha <[email protected]>--- testcases/kernel/syscalls/writev/writev03.c | 1 + 1 file changed, 1 insertion(+)testcases/kernel/syscalls/writev/writev03.c +1
-0@@ -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.
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>