Skip to content

Setting loops > 1 and unlink_each_loop=1 causes I/O to fail #453

Open
@jan--f

Description

@jan--f

This job file produces the expected output. Results look plausible (i.e. io volume fits the job file, bandwidth seems appropriate)

[global]
  size=1g
  loops=3
  unlink_each_loop=1

[worker0_1m_readwrite]
  rw=readwrite
  blocksize=1m

However fio does print an error message: worker0_1m_readwrite: No I/O performed by psync, perhaps try --debug=io option for details?

Adding unlink_each_loop=1 to the job specification causes fio to not do any I/O and two error messages are reported:

worker0_1m_readwrite: No I/O performed by psync, perhaps try --debug=io option for details?
fio: pid=7096, err=5/file:backend.c:490, func=full resid, error=Input/output error

Furthermore the io stats reported in the results are bogus, as in io volume is not what was specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagedIssue cause is understood but a patch is needed to fix it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions