summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Fu <vincent.fu@wdc.com>2019-10-28 19:45:31 -0400
committerVincent Fu <vincent.fu@wdc.com>2019-11-06 11:18:59 -0500
commit022a89461449b71b349e20ac58591488fc236884 (patch)
treea7d03329e39c53a7e8b2a8c772590eab4816f2f1
parent09a66e9ee8ab5caff467447fde75a6913d95c4a4 (diff)
downloadfio-022a89461449b71b349e20ac58591488fc236884.tar.gz
fio-022a89461449b71b349e20ac58591488fc236884.tar.bz2
t/strided.py: change LFSR tests
LFSR init fails on occasion with small zoneranges. This patch increases the zonerange for LFSR tests to eliminate these failures. Also fix a typo in the last test job.
-rwxr-xr-xt/strided.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/t/strided.py b/t/strided.py
index 47ce5523..c159dc0b 100755
--- a/t/strided.py
+++ b/t/strided.py
@@ -202,20 +202,20 @@ if __name__ == '__main__':
# lfsr
{
"random_generator": "lfsr",
- "zonerange": 4096,
- "zonesize": 4096,
+ "zonerange": 4096*1024,
+ "zonesize": 4096*1024,
"bs": 4096,
- "offset": 8*4096,
- "size": 16*4096,
- "io_size": 16*4096,
+ "offset": 8*4096*1024,
+ "size": 16*4096*1024,
+ "io_size": 16*4096*1024,
},
{
"random_generator": "lfsr",
- "zonerange": 4096,
- "zonesize": 4096,
+ "zonerange": 4096*1024,
+ "zonesize": 4096*1024,
"bs": 4096,
- "size": 16*4096,
- "io_size": 16*4096,
+ "size": 16*4096*1024,
+ "io_size": 16*4096*1024,
},
{
"random_generator": "lfsr",
@@ -227,11 +227,11 @@ if __name__ == '__main__':
},
{
"random_generator": "lfsr",
- "zonerange": 4096,
- "zonesize": 4*4096,
+ "zonerange": 4096*1024,
+ "zonesize": 4*4096*1024,
"bs": 4096,
- "size": 16*4096,
- "io_size": 16*4096,
+ "size": 16*4096*1024,
+ "io_size": 16*4096*1024,
},
{
"random_generator": "lfsr",
@@ -243,11 +243,11 @@ if __name__ == '__main__':
},
{
"random_generator": "lfsr",
- "zonerange": 8192,
- "zonesize": 4096,
+ "zonerange": 8192*1024,
+ "zonesize": 4096*1024,
"bs": 4096,
- "size": 16*4096,
- "io_size": 16*4096,
+ "size": 16*4096*1024,
+ "io_size": 16*4096*1024,
},
{
"random_generator": "lfsr",
@@ -313,7 +313,7 @@ if __name__ == '__main__':
"zonesize": 8*1024*1024,
"bs": 4096,
"size": 256*1024*1024,
- "io_size": 256*1024*204,
+ "io_size": 256*1024*1024,
},
]