Skip to content

Need a better way to set ioprio flags on SQE #344

Open
@rrichardson

Description

@rrichardson

We would like to set IORING_RECVSEND_POLL_FIRST on the SQE. This is a flag that is set in the ioprio field in a similar fashion as IORING_RECVSEND_BUNDLE

I don't think it's scalable to keep adding Opcodes that are combinations of these flags and others. This flag is pretty much orthogonal to all other flags. It doesn't require special handling or operations.

Maybe we can just expose ioprio on the Entry struct using bitfield/Flags?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions