mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-07-20 22:58:41 -04:00
Correct mistakes on send/recv* flags
They go into ->ioprio, not off/addr2. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
@@ -60,7 +60,7 @@ Multishot variants are available since kernel 5.20.
|
||||
|
||||
After calling this function, additional io_uring internal modifier flags
|
||||
may be set in the SQE
|
||||
.I off
|
||||
.I ioprio
|
||||
field. The following flags are supported:
|
||||
.TP
|
||||
.B IORING_RECVSEND_POLL_FIRST
|
||||
|
||||
@@ -39,7 +39,7 @@ prep helper.
|
||||
|
||||
After calling this function, additional io_uring internal modifier flags
|
||||
may be set in the SQE
|
||||
.I off
|
||||
.I ioprio
|
||||
field. The following flags are supported:
|
||||
.TP
|
||||
.B IORING_RECVSEND_POLL_FIRST
|
||||
|
||||
@@ -238,7 +238,7 @@ enum io_uring_op {
|
||||
#define IORING_ASYNC_CANCEL_ANY (1U << 2)
|
||||
|
||||
/*
|
||||
* send/sendmsg and recv/recvmsg flags (sqe->addr2)
|
||||
* send/sendmsg and recv/recvmsg flags (sqe->ioprio)
|
||||
*
|
||||
* IORING_RECVSEND_POLL_FIRST If set, instead of first attempting to send
|
||||
* or receive and arm poll if that yields an
|
||||
|
||||
Reference in New Issue
Block a user