* [LTP] [PATCH] change /test/aiodio to TMPDIR in runtest/ltp-aio-stress.partX
@ 2015-11-06 5:31 Masayoshi Mizuma
2015-11-10 14:49 ` Cyril Hrubis
2015-11-10 15:01 ` Cyril Hrubis
0 siblings, 2 replies; 5+ messages in thread
From: Masayoshi Mizuma @ 2015-11-06 5:31 UTC (permalink / raw)
To: ltp
ltp-aio-stress.partX fails if /test/aiodio directory is not found.
/test/aiodio should be changed to $TMPDIR just like ltp-aiodio.partX.
Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
---
runtest/ltp-aio-stress.part1 | 104 +++++++++++++++++++++---------------------
runtest/ltp-aio-stress.part2 | 22 ++++----
2 files changed, 63 insertions(+), 63 deletions(-)
diff --git a/runtest/ltp-aio-stress.part1 b/runtest/ltp-aio-stress.part1
index e6ce367..a770a40 100644
--- a/runtest/ltp-aio-stress.part1
+++ b/runtest/ltp-aio-stress.part1
@@ -2,7 +2,7 @@
#
# aio-stress [-s size] [-r size] [-a size] [-d num] [-b num]
# [-i num] [-t num] [-c num] [-C size] [-nxhlvOS ]
-# file1 [/test/aiodio/file2 ...]
+# file1 [file2 ...]
# -a size in KB at which to align buffers
# -b max number of iocbs to give io_submit at once
# -c number of io contexts per file
@@ -26,54 +26,54 @@
# -x turn off thread stonewalling
# -h this message
#
-ADS1000 aio-stress -I500 -o2 -S -r4 /test/aiodio/file1
-ADS1001 aio-stress -I500 -o2 -S -r8 /test/aiodio/file1
-ADS1002 aio-stress -I500 -o2 -S -r16 /test/aiodio/file1
-ADS1003 aio-stress -I500 -o2 -S -r32 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1004 aio-stress -I500 -o2 -S -r64 /test/aiodio/junkfile /test/aiodio/file2
-ADS1005 aio-stress -I500 -o3 -S -r4 /test/aiodio/junkfile /test/aiodio/file2
-ADS1006 aio-stress -I500 -o3 -S -r8 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1007 aio-stress -I500 -o3 -S -r16 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1008 aio-stress -I500 -o3 -S -r32 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4
-ADS1009 aio-stress -I500 -o3 -S -r64 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4
-ADS1010 aio-stress -I500 -o3 -S -r128 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4
-ADS1011 aio-stress -I500 -o3 -S -r256 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6 /test/aiodio/file7 /test/aiodio/file8
-ADS1012 aio-stress -I500 -o3 -S -r512 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6 /test/aiodio/file7 /test/aiodio/file8
-ADS1013 aio-stress -I500 -o2 -O -r4 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6 /test/aiodio/file7 /test/aiodio/file8
-ADS1014 aio-stress -I500 -o2 -O -r8 /test/aiodio/file1 /test/aiodio/file2
-ADS1015 aio-stress -I500 -o2 -O -r16 /test/aiodio/file1 /test/aiodio/file2
-ADS1016 aio-stress -I500 -o2 -O -r32 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1017 aio-stress -I500 -o2 -O -r64 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1018 aio-stress -I500 -o3 -O -r4 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1019 aio-stress -I500 -o3 -O -r8 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1020 aio-stress -I500 -o3 -O -r16 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1021 aio-stress -I500 -o3 -O -r32 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
-ADS1022 aio-stress -I500 -o3 -O -r64 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
-ADS1023 aio-stress -I500 -o3 -O -r128 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
-ADS1024 aio-stress -I500 -o3 -O -r256 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file4 /test/aiodio/file3 /test/aiodio/file5 /test/aiodio/file6
-ADS1025 aio-stress -I500 -o3 -O -r512 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
-ADS1026 aio-stress -I500 -o0 -S -r4 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
-ADS1027 aio-stress -I500 -o0 -S -r8 /test/aiodio/file2
-ADS1028 aio-stress -I500 -o0 -S -r16 /test/aiodio/file2
-ADS1029 aio-stress -I500 -o0 -S -r32 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1030 aio-stress -I500 -o0 -S -r64 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1031 aio-stress -I500 -o1 -S -r4 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1032 aio-stress -I500 -o1 -S -r8 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1033 aio-stress -I500 -o1 -S -r16 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1034 aio-stress -I500 -o1 -S -r32 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
-ADS1035 aio-stress -I500 -o1 -S -r64 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
-ADS1036 aio-stress -I500 -o1 -S -r128 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
-ADS1037 aio-stress -I500 -o1 -S -r256 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file4 /test/aiodio/file3 /test/aiodio/file5 /test/aiodio/file6
-ADS1038 aio-stress -I500 -o1 -S -r512 -t8 -x /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
-ADS1039 aio-stress -I500 -o1 -O -r4 -t8 -x /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
-ADS1040 aio-stress -I500 -o1 -O -r8 -t2 -x /test/aiodio/junkfile /test/aiodio/file2
-ADS1041 aio-stress -I500 -o1 -O -r16 -t2 -x /test/aiodio/junkfile /test/aiodio/file2
-ADS1042 aio-stress -I500 -o1 -O -r32 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1043 aio-stress -I500 -o1 -O -r64 -t2 /test/aiodio/junkfile /test/aiodio/file2
-ADS1044 aio-stress -I500 -o1 -O -r4 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
-ADS1045 aio-stress -I500 -o1 -O -r8 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
-ADS1046 aio-stress -I500 -o1 -O -r16 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
-ADS1047 aio-stress -I500 -o1 -O -r32 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file4 /test/aiodio/file3 /test/aiodio/file5 /test/aiodio/file6
-ADS1048 aio-stress -I500 -o1 -O -r64 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
-ADS1049 aio-stress -I500 -o1 -O -r128 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
-ADS1050 aio-stress -I500 -o1 -O -r256 -t2 /test/aiodio/junkfile /test/aiodio/file2
+ADS1000 aio-stress -I500 -o2 -S -r4 $TMPDIR/file1
+ADS1001 aio-stress -I500 -o2 -S -r8 $TMPDIR/file1
+ADS1002 aio-stress -I500 -o2 -S -r16 $TMPDIR/file1
+ADS1003 aio-stress -I500 -o2 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1004 aio-stress -I500 -o2 -S -r64 $TMPDIR/junkfile $TMPDIR/file2
+ADS1005 aio-stress -I500 -o3 -S -r4 $TMPDIR/junkfile $TMPDIR/file2
+ADS1006 aio-stress -I500 -o3 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1007 aio-stress -I500 -o3 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1008 aio-stress -I500 -o3 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4
+ADS1009 aio-stress -I500 -o3 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4
+ADS1010 aio-stress -I500 -o3 -S -r128 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4
+ADS1011 aio-stress -I500 -o3 -S -r256 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 $TMPDIR/file7 $TMPDIR/file8
+ADS1012 aio-stress -I500 -o3 -S -r512 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 $TMPDIR/file7 $TMPDIR/file8
+ADS1013 aio-stress -I500 -o2 -O -r4 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 $TMPDIR/file7 $TMPDIR/file8
+ADS1014 aio-stress -I500 -o2 -O -r8 $TMPDIR/file1 $TMPDIR/file2
+ADS1015 aio-stress -I500 -o2 -O -r16 $TMPDIR/file1 $TMPDIR/file2
+ADS1016 aio-stress -I500 -o2 -O -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1017 aio-stress -I500 -o2 -O -r64 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1018 aio-stress -I500 -o3 -O -r4 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1019 aio-stress -I500 -o3 -O -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1020 aio-stress -I500 -o3 -O -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1021 aio-stress -I500 -o3 -O -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
+ADS1022 aio-stress -I500 -o3 -O -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
+ADS1023 aio-stress -I500 -o3 -O -r128 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
+ADS1024 aio-stress -I500 -o3 -O -r256 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file4 $TMPDIR/file3 $TMPDIR/file5 $TMPDIR/file6
+ADS1025 aio-stress -I500 -o3 -O -r512 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
+ADS1026 aio-stress -I500 -o0 -S -r4 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
+ADS1030 aio-stress -I500 -o0 -S -r64 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1031 aio-stress -I500 -o1 -S -r4 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1032 aio-stress -I500 -o1 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1033 aio-stress -I500 -o1 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1034 aio-stress -I500 -o1 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
+ADS1035 aio-stress -I500 -o1 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
+ADS1036 aio-stress -I500 -o1 -S -r128 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
+ADS1037 aio-stress -I500 -o1 -S -r256 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file4 $TMPDIR/file3 $TMPDIR/file5 $TMPDIR/file6
+ADS1038 aio-stress -I500 -o1 -S -r512 -t8 -x $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
+ADS1039 aio-stress -I500 -o1 -O -r4 -t8 -x $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
+ADS1040 aio-stress -I500 -o1 -O -r8 -t2 -x $TMPDIR/junkfile $TMPDIR/file2
+ADS1041 aio-stress -I500 -o1 -O -r16 -t2 -x $TMPDIR/junkfile $TMPDIR/file2
+ADS1042 aio-stress -I500 -o1 -O -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1043 aio-stress -I500 -o1 -O -r64 -t2 $TMPDIR/junkfile $TMPDIR/file2
+ADS1044 aio-stress -I500 -o1 -O -r4 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
+ADS1045 aio-stress -I500 -o1 -O -r8 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
+ADS1046 aio-stress -I500 -o1 -O -r16 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
+ADS1047 aio-stress -I500 -o1 -O -r32 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file4 $TMPDIR/file3 $TMPDIR/file5 $TMPDIR/file6
+ADS1048 aio-stress -I500 -o1 -O -r64 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
+ADS1049 aio-stress -I500 -o1 -O -r128 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
+ADS1050 aio-stress -I500 -o1 -O -r256 -t2 $TMPDIR/junkfile $TMPDIR/file2
diff --git a/runtest/ltp-aio-stress.part2 b/runtest/ltp-aio-stress.part2
index 92b501c..d72f538 100644
--- a/runtest/ltp-aio-stress.part2
+++ b/runtest/ltp-aio-stress.part2
@@ -2,7 +2,7 @@
#
# aio-stress [-s size] [-r size] [-a size] [-d num] [-b num]
# [-i num] [-t num] [-c num] [-C size] [-nxhlvOS ]
-# file1 [/test/aiodio/file2 ...]
+# file1 [file2 ...]
# -a size in KB at which to align buffers
# -b max number of iocbs to give io_submit at once
# -c number of io contexts per file
@@ -26,13 +26,13 @@
# -x turn off thread stonewalling
# -h this message
#
-ADS2001 aio-stress -I500 -o2 -S -r32 -t2 /test/aiodio/junkfile /test/aiodio2/file2
-ADS2002 aio-stress -I500 -o3 -S -r8 -t2 /test/aiodio/junkfile /test/aiodio2/file2
-ADS2003 aio-stress -I500 -o3 -S -r16 -t2 /test/aiodio/junkfile /test/aiodio2/file2
-ADS2004 aio-stress -I500 -o3 -S -r32 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4
-ADS2005 aio-stress -I500 -o3 -S -r64 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4
-ADS2006 aio-stress -I500 -o2 -O -r32 -t2 /test/aiodio/junkfile /test/aiodio2/file2
-ADS2007 aio-stress -I500 -o3 -O -r8 -t2 /test/aiodio/junkfile /test/aiodio2/file2
-ADS2008 aio-stress -I500 -o3 -O -r16 -t2 /test/aiodio/junkfile /test/aiodio2/file2
-ADS2009 aio-stress -I500 -o3 -O -r32 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4
-ADS2010 aio-stress -I500 -o3 -O -r64 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4
+ADS2001 aio-stress -I500 -o2 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR2/file2
+ADS2002 aio-stress -I500 -o3 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR2/file2
+ADS2003 aio-stress -I500 -o3 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR2/file2
+ADS2004 aio-stress -I500 -o3 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR2/file2 $TMPDIR/file3 $TMPDIR2/file4
+ADS2005 aio-stress -I500 -o3 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR2/file2 $TMPDIR/file3 $TMPDIR2/file4
+ADS2006 aio-stress -I500 -o2 -O -r32 -t2 $TMPDIR/junkfile $TMPDIR2/file2
+ADS2007 aio-stress -I500 -o3 -O -r8 -t2 $TMPDIR/junkfile $TMPDIR2/file2
+ADS2008 aio-stress -I500 -o3 -O -r16 -t2 $TMPDIR/junkfile $TMPDIR2/file2
+ADS2009 aio-stress -I500 -o3 -O -r32 -t4 $TMPDIR/junkfile $TMPDIR2/file2 $TMPDIR/file3 $TMPDIR2/file4
+ADS2010 aio-stress -I500 -o3 -O -r64 -t4 $TMPDIR/junkfile $TMPDIR2/file2 $TMPDIR/file3 $TMPDIR2/file4
--
1.7.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [LTP] [PATCH] change /test/aiodio to TMPDIR in runtest/ltp-aio-stress.partX
2015-11-06 5:31 [LTP] [PATCH] change /test/aiodio to TMPDIR in runtest/ltp-aio-stress.partX Masayoshi Mizuma
@ 2015-11-10 14:49 ` Cyril Hrubis
2015-11-10 14:50 ` Cyril Hrubis
2015-11-10 15:01 ` Cyril Hrubis
1 sibling, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2015-11-10 14:49 UTC (permalink / raw)
To: ltp
Hi!
The changes looks good but the patch is corrupted and could not be
applied.
> +ADS1048 aio-stress -I500 -o1 -O -r64 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
> +ADS1049 aio-stress -I500 -o1 -O -r128 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
> +ADS1050 aio-stress -I500 -o1 -O -r256 -t2 $TMPDIR/junkfile $TMPDIR/file2
Here we miss the three lines of unchanged content. Have you modified the
patch by hand?
> diff --git a/runtest/ltp-aio-stress.part2 b/runtest/ltp-aio-stress.part2
> index 92b501c..d72f538 100644
> --- a/runtest/ltp-aio-stress.part2
> +++ b/runtest/ltp-aio-stress.part2
> @@ -2,7 +2,7 @@
> #
> # aio-stress [-s size] [-r size] [-a size] [-d num] [-b num]
> # [-i num] [-t num] [-c num] [-C size] [-nxhlvOS ]
> -# file1 [/test/aiodio/file2 ...]
> +# file1 [file2 ...]
> # -a size in KB at which to align buffers
> # -b max number of iocbs to give io_submit at once
> # -c number of io contexts per file
> @@ -26,13 +26,13 @@
> # -x turn off thread stonewalling
> # -h this message
> #
> -ADS2001 aio-stress -I500 -o2 -S -r32 -t2 /test/aiodio/junkfile /test/aiodio2/file2
> -ADS2002 aio-stress -I500 -o3 -S -r8 -t2 /test/aiodio/junkfile /test/aiodio2/file2
> -ADS2003 aio-stress -I500 -o3 -S -r16 -t2 /test/aiodio/junkfile /test/aiodio2/file2
> -ADS2004 aio-stress -I500 -o3 -S -r32 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4
> -ADS2005 aio-stress -I500 -o3 -S -r64 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4
> -ADS2006 aio-stress -I500 -o2 -O -r32 -t2 /test/aiodio/junkfile /test/aiodio2/file2
> -ADS2007 aio-stress -I500 -o3 -O -r8 -t2 /test/aiodio/junkfile /test/aiodio2/file2
> -ADS2008 aio-stress -I500 -o3 -O -r16 -t2 /test/aiodio/junkfile /test/aiodio2/file2
> -ADS2009 aio-stress -I500 -o3 -O -r32 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4
> -ADS2010 aio-stress -I500 -o3 -O -r64 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4
> +ADS2001 aio-stress -I500 -o2 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR2/file2
> +ADS2002 aio-stress -I500 -o3 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR2/file2
> +ADS2003 aio-stress -I500 -o3 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR2/file2
> +ADS2004 aio-stress -I500 -o3 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR2/file2 $TMPDIR/file3 $TMPDIR2/file4
> +ADS2005 aio-stress -I500 -o3 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR2/file2 $TMPDIR/file3 $TMPDIR2/file4
> +ADS2006 aio-stress -I500 -o2 -O -r32 -t2 $TMPDIR/junkfile $TMPDIR2/file2
> +ADS2007 aio-stress -I500 -o3 -O -r8 -t2 $TMPDIR/junkfile $TMPDIR2/file2
> +ADS2008 aio-stress -I500 -o3 -O -r16 -t2 $TMPDIR/junkfile $TMPDIR2/file2
> +ADS2009 aio-stress -I500 -o3 -O -r32 -t4 $TMPDIR/junkfile $TMPDIR2/file2 $TMPDIR/file3 $TMPDIR2/file4
> +ADS2010 aio-stress -I500 -o3 -O -r64 -t4 $TMPDIR/junkfile $TMPDIR2/file2 $TMPDIR/file3 $TMPDIR2/file4
Here as well.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 5+ messages in thread
* [LTP] [PATCH] change /test/aiodio to TMPDIR in runtest/ltp-aio-stress.partX
2015-11-10 14:49 ` Cyril Hrubis
@ 2015-11-10 14:50 ` Cyril Hrubis
0 siblings, 0 replies; 5+ messages in thread
From: Cyril Hrubis @ 2015-11-10 14:50 UTC (permalink / raw)
To: ltp
Hi!
> The changes looks good but the patch is corrupted and could not be
> applied.
>
> > +ADS1048 aio-stress -I500 -o1 -O -r64 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
> > +ADS1049 aio-stress -I500 -o1 -O -r128 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
> > +ADS1050 aio-stress -I500 -o1 -O -r256 -t2 $TMPDIR/junkfile $TMPDIR/file2
>
> Here we miss the three lines of unchanged content. Have you modified the
> patch by hand?
Hmm, the file ends here. Then I have no idea why it couldn't be applied.
:(
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 5+ messages in thread
* [LTP] [PATCH] change /test/aiodio to TMPDIR in runtest/ltp-aio-stress.partX
2015-11-06 5:31 [LTP] [PATCH] change /test/aiodio to TMPDIR in runtest/ltp-aio-stress.partX Masayoshi Mizuma
2015-11-10 14:49 ` Cyril Hrubis
@ 2015-11-10 15:01 ` Cyril Hrubis
2015-11-11 0:29 ` Masayoshi Mizuma
1 sibling, 1 reply; 5+ messages in thread
From: Cyril Hrubis @ 2015-11-10 15:01 UTC (permalink / raw)
To: ltp
Hi!
> +ADS1000 aio-stress -I500 -o2 -S -r4 $TMPDIR/file1
> +ADS1001 aio-stress -I500 -o2 -S -r8 $TMPDIR/file1
> +ADS1002 aio-stress -I500 -o2 -S -r16 $TMPDIR/file1
> +ADS1003 aio-stress -I500 -o2 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
> +ADS1004 aio-stress -I500 -o2 -S -r64 $TMPDIR/junkfile $TMPDIR/file2
> +ADS1005 aio-stress -I500 -o3 -S -r4 $TMPDIR/junkfile $TMPDIR/file2
> +ADS1006 aio-stress -I500 -o3 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
> +ADS1007 aio-stress -I500 -o3 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
> +ADS1008 aio-stress -I500 -o3 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4
> +ADS1009 aio-stress -I500 -o3 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4
> +ADS1010 aio-stress -I500 -o3 -S -r128 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4
> +ADS1011 aio-stress -I500 -o3 -S -r256 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 $TMPDIR/file7 $TMPDIR/file8
> +ADS1012 aio-stress -I500 -o3 -S -r512 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 $TMPDIR/file7 $TMPDIR/file8
> +ADS1013 aio-stress -I500 -o2 -O -r4 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 $TMPDIR/file7 $TMPDIR/file8
> +ADS1014 aio-stress -I500 -o2 -O -r8 $TMPDIR/file1 $TMPDIR/file2
> +ADS1015 aio-stress -I500 -o2 -O -r16 $TMPDIR/file1 $TMPDIR/file2
> +ADS1016 aio-stress -I500 -o2 -O -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
> +ADS1017 aio-stress -I500 -o2 -O -r64 -t2 $TMPDIR/junkfile $TMPDIR/file2
> +ADS1018 aio-stress -I500 -o3 -O -r4 -t2 $TMPDIR/junkfile $TMPDIR/file2
> +ADS1019 aio-stress -I500 -o3 -O -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
> +ADS1020 aio-stress -I500 -o3 -O -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
> +ADS1021 aio-stress -I500 -o3 -O -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
> +ADS1022 aio-stress -I500 -o3 -O -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
> +ADS1023 aio-stress -I500 -o3 -O -r128 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
> +ADS1024 aio-stress -I500 -o3 -O -r256 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file4 $TMPDIR/file3 $TMPDIR/file5 $TMPDIR/file6
> +ADS1025 aio-stress -I500 -o3 -O -r512 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
> +ADS1026 aio-stress -I500 -o0 -S -r4 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
ADS1027 to ADS1029 are missing here and therefore the number of changed
lines does not add up to the numbers between @@ @@ in the header.
Can you please generate working patch and resend it?
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 5+ messages in thread
* [LTP] [PATCH] change /test/aiodio to TMPDIR in runtest/ltp-aio-stress.partX
2015-11-10 15:01 ` Cyril Hrubis
@ 2015-11-11 0:29 ` Masayoshi Mizuma
0 siblings, 0 replies; 5+ messages in thread
From: Masayoshi Mizuma @ 2015-11-11 0:29 UTC (permalink / raw)
To: ltp
On Tue, 10 Nov 2015 16:01:06 +0100 Cyril Hrubis wrote:
> Hi!
>> +ADS1000 aio-stress -I500 -o2 -S -r4 $TMPDIR/file1
>> +ADS1001 aio-stress -I500 -o2 -S -r8 $TMPDIR/file1
>> +ADS1002 aio-stress -I500 -o2 -S -r16 $TMPDIR/file1
>> +ADS1003 aio-stress -I500 -o2 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
>> +ADS1004 aio-stress -I500 -o2 -S -r64 $TMPDIR/junkfile $TMPDIR/file2
>> +ADS1005 aio-stress -I500 -o3 -S -r4 $TMPDIR/junkfile $TMPDIR/file2
>> +ADS1006 aio-stress -I500 -o3 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
>> +ADS1007 aio-stress -I500 -o3 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
>> +ADS1008 aio-stress -I500 -o3 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4
>> +ADS1009 aio-stress -I500 -o3 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4
>> +ADS1010 aio-stress -I500 -o3 -S -r128 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4
>> +ADS1011 aio-stress -I500 -o3 -S -r256 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 $TMPDIR/file7 $TMPDIR/file8
>> +ADS1012 aio-stress -I500 -o3 -S -r512 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 $TMPDIR/file7 $TMPDIR/file8
>> +ADS1013 aio-stress -I500 -o2 -O -r4 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6 $TMPDIR/file7 $TMPDIR/file8
>> +ADS1014 aio-stress -I500 -o2 -O -r8 $TMPDIR/file1 $TMPDIR/file2
>> +ADS1015 aio-stress -I500 -o2 -O -r16 $TMPDIR/file1 $TMPDIR/file2
>> +ADS1016 aio-stress -I500 -o2 -O -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
>> +ADS1017 aio-stress -I500 -o2 -O -r64 -t2 $TMPDIR/junkfile $TMPDIR/file2
>> +ADS1018 aio-stress -I500 -o3 -O -r4 -t2 $TMPDIR/junkfile $TMPDIR/file2
>> +ADS1019 aio-stress -I500 -o3 -O -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
>> +ADS1020 aio-stress -I500 -o3 -O -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
>> +ADS1021 aio-stress -I500 -o3 -O -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
>> +ADS1022 aio-stress -I500 -o3 -O -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
>> +ADS1023 aio-stress -I500 -o3 -O -r128 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8
>> +ADS1024 aio-stress -I500 -o3 -O -r256 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file4 $TMPDIR/file3 $TMPDIR/file5 $TMPDIR/file6
>> +ADS1025 aio-stress -I500 -o3 -O -r512 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
>> +ADS1026 aio-stress -I500 -o0 -S -r4 -t8 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file7 $TMPDIR/file8 $TMPDIR/file3 $TMPDIR/file4 $TMPDIR/file5 $TMPDIR/file6
>
> ADS1027 to ADS1029 are missing here and therefore the number of changed
> lines does not add up to the numbers between @@ @@ in the header.
>
> Can you please generate working patch and resend it?
>
Thank you for pointing it out!
I will resend it.
Regards,
Masayoshi Mizuma
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-11 0:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-06 5:31 [LTP] [PATCH] change /test/aiodio to TMPDIR in runtest/ltp-aio-stress.partX Masayoshi Mizuma
2015-11-10 14:49 ` Cyril Hrubis
2015-11-10 14:50 ` Cyril Hrubis
2015-11-10 15:01 ` Cyril Hrubis
2015-11-11 0:29 ` Masayoshi Mizuma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox