Skip to content

etcd_opts sets wrong variable for I/O engine (ioe vs ioengine) #65

Description

@sayalibhavsar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pr_review[Automatic Label] Issue has a PR that needs review

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions