Add rwmixread into result json

Change-Id: I0880678aae82f31315725628c031975e3969a679
This commit is contained in:
Yichen Wang 2016-03-10 13:24:18 -08:00
parent fcb4eaaa04
commit 73511dbf51
2 changed files with 3 additions and 1 deletions

View File

@ -79,7 +79,7 @@ mv /usr/local/lib/libhdr_histogram.so /usr/lib/
# Install fio
cd /tmp
FIO='fio-2.5'
FIO='fio-2.6'
wget http://brick.kernel.dk/snaps/$FIO.tar.gz
tar xzf $FIO.tar.gz
cd $FIO

View File

@ -120,6 +120,8 @@ class KBRunner_Storage(KBRunner):
tc_result['mode'] = cur_config['mode']
tc_result['block_size'] = cur_config['block_size']
tc_result['iodepth'] = cur_config['iodepth']
if tc_result['mode'] in ['randrw', 'rw']:
tc_result['rwmixread'] = cur_config['rwmixread']
if 'rate_iops' in cur_config:
tc_result['rate_iops'] = vm_count * cur_config['rate_iops']
if 'rate' in cur_config: