Bug
The --etcd_opts code path in fio_run line 1227 sets ioe=sync, but fio_execute() at line 820 unconditionally reassigns ioe from $ioengine:
# Line 1227 (etcd_opts block)
ioe=sync
# Line 820 (fio_execute, runs later)
ioe=$(echo $ioengine | sed "s/,/ /g")
Since $ioengine is never changed by the etcd block (it remains libaio), the ioe=sync setting is silently overwritten.
Expected Behavior
etcd simulation should use the sync I/O engine to match real etcd write patterns.
Fix
Change line 1227 from ioe=sync to ioengine=sync.
Bug
The
--etcd_optscode path infio_runline 1227 setsioe=sync, butfio_execute()at line 820 unconditionally reassignsioefrom$ioengine:Since
$ioengineis never changed by the etcd block (it remainslibaio), theioe=syncsetting is silently overwritten.Expected Behavior
etcd simulation should use the
syncI/O engine to match real etcd write patterns.Fix
Change line 1227 from
ioe=synctoioengine=sync.