diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-02-15 21:32:18 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-22 01:25:22 +0100 |
commit | 44526bedc2ff8fcd58552e3c5bae928524b6f13c (patch) | |
tree | 0e6c152461653a9b9d8fca8393f0ec4748580597 /fs/io-wq.h | |
parent | io-wq: worker idling always returns false (diff) | |
download | linux-44526bedc2ff8fcd58552e3c5bae928524b6f13c.tar.xz linux-44526bedc2ff8fcd58552e3c5bae928524b6f13c.zip |
io_uring: remove any grabbing of context
The async workers are siblings of the task itself, so by definition we
have all the state that we need. Remove any of the state grabbing that
we have, and requests flagging what they need.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.h')
-rw-r--r-- | fs/io-wq.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/io-wq.h b/fs/io-wq.h index 83d56adabd16..bbe05dd54716 100644 --- a/fs/io-wq.h +++ b/fs/io-wq.h @@ -11,13 +11,6 @@ enum { IO_WQ_WORK_UNBOUND = 4, IO_WQ_WORK_CONCURRENT = 16, - IO_WQ_WORK_FILES = 32, - IO_WQ_WORK_FS = 64, - IO_WQ_WORK_MM = 128, - IO_WQ_WORK_CREDS = 256, - IO_WQ_WORK_BLKCG = 512, - IO_WQ_WORK_FSIZE = 1024, - IO_WQ_HASH_SHIFT = 24, /* upper 8 bits are used for hash key */ }; |