rename bw_mean to bw, other fixes
diff --git a/scripts/data.py b/scripts/data.py
index 2725a26..c666250 100644
--- a/scripts/data.py
+++ b/scripts/data.py
@@ -70,7 +70,7 @@
if meta['sync']:
meta['sync'] = 's'
- elif meta['direct_io']:
+ elif meta['direct']:
meta['sync'] = 'd'
else:
meta['sync'] = 'a'
@@ -78,7 +78,7 @@
meta['fsize'] = kb_to_ssize(meta['size'] * meta['concurence'])
key = ("{action} {sync} {blocksize}k " +
"{concurence} {fsize}").format(**meta)
- results.setdefault(key, []).append(val['bw_mean'])
+ results.setdefault(key, []).append(val['bw'])
cmeta = results_meta.setdefault(key, {})
cmeta.setdefault('times', []).append(get_test_time(prev_block))