Uring.put

Adds new entry to the SubmissionQueue.

Note that this just adds entry to the queue and doesn't advance the tail marker kernel sees. For that finishSq() is needed to be called next.

Also note that to actually enter new entries to kernel, it's needed to call submit().

  1. Uring put(SubmissionEntry entry)
    struct Uring
    nothrow @nogc ref @safe pure return
    put
    ()
    (
    auto ref SubmissionEntry entry
    )
  2. Uring put(OP op)

Parameters

entry SubmissionEntry

Custom built SubmissionEntry to be posted as is. Note that in this case it is copied whole over one in the SubmissionQueue.

Return Value

Type: Uring

reference to Uring structure so it's possible to chain multiple commands.

Meta