[LTP] [PATCH] ltp-aiodio.part4: Run DIT000 with only 1 reader process

Martin Doucha mdoucha@suse.cz
Thu Jan 5 14:44:16 CET 2023


New changes in real-time kernel patchset give high priority to direct I/O
readers and may cause writes to block indefinitely if there are too many
reader processes running in parallel. Reduce the number of reader processes
in DIT000 to 1 which was the dio_truncate default before rewrite to new API.

Signed-off-by: Martin Doucha <mdoucha@suse.cz>
---
 runtest/ltp-aiodio.part4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtest/ltp-aiodio.part4 b/runtest/ltp-aiodio.part4
index d88c27a83..c31bef934 100644
--- a/runtest/ltp-aiodio.part4
+++ b/runtest/ltp-aiodio.part4
@@ -56,7 +56,7 @@ ADI007 dio_append
 ADI008 dio_append
 ADI009 dio_append
 #Running dio_truncate
-DIT000 dio_truncate
+DIT000 dio_truncate -n 1
 DIT001 dio_truncate
 DIT002 dio_truncate
 #Running dio_read
-- 
2.39.0



More information about the ltp mailing list