Message ID | b5e78497efd3a50bcc75f5d9aab1992375952c93.1655213733.git.asml.silence@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | single-issuer and poll benchmark | expand |
On 6/15/22 11:05, Pavel Begunkov wrote: > Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Something did go wrong here... just ignore it, the v2 sent yesterday is up to date. > --- > src/include/liburing/io_uring.h | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h > index 15d9fbd..ee6ccc9 100644 > --- a/src/include/liburing/io_uring.h > +++ b/src/include/liburing/io_uring.h > @@ -137,9 +137,12 @@ enum { > * IORING_SQ_TASKRUN in the sq ring flags. Not valid with COOP_TASKRUN. > */ > #define IORING_SETUP_TASKRUN_FLAG (1U << 9) > - > #define IORING_SETUP_SQE128 (1U << 10) /* SQEs are 128 byte */ > #define IORING_SETUP_CQE32 (1U << 11) /* CQEs are 32 byte */ > +/* > + * Only one task is allowed to submit requests > + */ > +#define IORING_SETUP_SINGLE_ISSUER (1U << 12) > > enum io_uring_op { > IORING_OP_NOP,
On 6/15/22 11:28, Pavel Begunkov wrote: > On 6/15/22 11:05, Pavel Begunkov wrote: >> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> > > Something did go wrong here... just ignore it, > the v2 sent yesterday is up to date. That goes to the whole series (missing the cover-letter in the mailbox) > >> --- >> src/include/liburing/io_uring.h | 5 ++++- >> 1 file changed, 4 insertions(+), 1 deletion(-) >> >> diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h >> index 15d9fbd..ee6ccc9 100644 >> --- a/src/include/liburing/io_uring.h >> +++ b/src/include/liburing/io_uring.h >> @@ -137,9 +137,12 @@ enum { >> * IORING_SQ_TASKRUN in the sq ring flags. Not valid with COOP_TASKRUN. >> */ >> #define IORING_SETUP_TASKRUN_FLAG (1U << 9) >> - >> #define IORING_SETUP_SQE128 (1U << 10) /* SQEs are 128 byte */ >> #define IORING_SETUP_CQE32 (1U << 11) /* CQEs are 32 byte */ >> +/* >> + * Only one task is allowed to submit requests >> + */ >> +#define IORING_SETUP_SINGLE_ISSUER (1U << 12) >> enum io_uring_op { >> IORING_OP_NOP, >
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h index 15d9fbd..ee6ccc9 100644 --- a/src/include/liburing/io_uring.h +++ b/src/include/liburing/io_uring.h @@ -137,9 +137,12 @@ enum { * IORING_SQ_TASKRUN in the sq ring flags. Not valid with COOP_TASKRUN. */ #define IORING_SETUP_TASKRUN_FLAG (1U << 9) - #define IORING_SETUP_SQE128 (1U << 10) /* SQEs are 128 byte */ #define IORING_SETUP_CQE32 (1U << 11) /* CQEs are 32 byte */ +/* + * Only one task is allowed to submit requests + */ +#define IORING_SETUP_SINGLE_ISSUER (1U << 12) enum io_uring_op { IORING_OP_NOP,
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> --- src/include/liburing/io_uring.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)