]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
io_uring: kill REQ_F_CANCEL_SEQ
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 24 Jul 2024 11:16:20 +0000 (12:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Jul 2024 14:01:49 +0000 (08:01 -0600)
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>
include/linux/io_uring_types.h

index 3bb6198d152346595b8e6a1e7a9547caee08f60c..e62aa9f0629f9ad1ab33eedde66e469f1dfbf610 100644 (file)
@@ -461,7 +461,6 @@ enum {
        REQ_F_SUPPORT_NOWAIT_BIT,
        REQ_F_ISREG_BIT,
        REQ_F_POLL_NO_LAZY_BIT,
-       REQ_F_CANCEL_SEQ_BIT,
        REQ_F_CAN_POLL_BIT,
        REQ_F_BL_EMPTY_BIT,
        REQ_F_BL_NO_RECYCLE_BIT,
@@ -536,8 +535,6 @@ enum {
        REQ_F_HASH_LOCKED       = IO_REQ_FLAG(REQ_F_HASH_LOCKED_BIT),
        /* don't use lazy poll wake for this request */
        REQ_F_POLL_NO_LAZY      = IO_REQ_FLAG(REQ_F_POLL_NO_LAZY_BIT),
-       /* cancel sequence is set and valid */
-       REQ_F_CANCEL_SEQ        = IO_REQ_FLAG(REQ_F_CANCEL_SEQ_BIT),
        /* file is pollable */
        REQ_F_CAN_POLL          = IO_REQ_FLAG(REQ_F_CAN_POLL_BIT),
        /* buffer list was empty after selection of buffer */