Skip to content

Commit a2b72b8

Browse files
isilenceaxboe
authored andcommitted
io_uring: kill REQ_F_CANCEL_SEQ
We removed the reliance on the flag by the cancellation path and now it's unused. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/e57afe566bbe4fefeb44daffb08900f2a4756577.1721819383.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent f1dcdfc commit a2b72b8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/linux/io_uring_types.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,6 @@ enum {
461461
REQ_F_SUPPORT_NOWAIT_BIT,
462462
REQ_F_ISREG_BIT,
463463
REQ_F_POLL_NO_LAZY_BIT,
464-
REQ_F_CANCEL_SEQ_BIT,
465464
REQ_F_CAN_POLL_BIT,
466465
REQ_F_BL_EMPTY_BIT,
467466
REQ_F_BL_NO_RECYCLE_BIT,
@@ -536,8 +535,6 @@ enum {
536535
REQ_F_HASH_LOCKED = IO_REQ_FLAG(REQ_F_HASH_LOCKED_BIT),
537536
/* don't use lazy poll wake for this request */
538537
REQ_F_POLL_NO_LAZY = IO_REQ_FLAG(REQ_F_POLL_NO_LAZY_BIT),
539-
/* cancel sequence is set and valid */
540-
REQ_F_CANCEL_SEQ = IO_REQ_FLAG(REQ_F_CANCEL_SEQ_BIT),
541538
/* file is pollable */
542539
REQ_F_CAN_POLL = IO_REQ_FLAG(REQ_F_CAN_POLL_BIT),
543540
/* buffer list was empty after selection of buffer */

0 commit comments

Comments
 (0)