Skip to content

API option check is broken for AIO API #87

@Obihoernchen

Description

@Obihoernchen

IOR with --with-aio has the following flags:

Module AIO

Flags
  --posix.odirect               Direct I/O Mode
  --posix.rangelocks            Use range locks (read locks for read ops)

Optional arguments
  --aio.max-pending=128         Max number of pending ops
  --aio.granularity=16          How frequent to submit pending IOs, submit every *granularity* elements

Using something like API = AIO --posix.odirect in config.ini throws the following (wrong) error message because the API flag does not start with --aio:

FATAL (src/util.c:164) Provided API option --posix.odirect appears to be no API supported version

Check: https://github.com/IO500/io500/blob/main/src/util.c#L147-L169

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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