Skip to content

Commit

Permalink
io_uring: remove any grabbing of context
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jens Axboe committed Feb 22, 2021
1 parent c6d77d9 commit 44526be
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 229 deletions.
7 changes: 0 additions & 7 deletions fs/io-wq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};

Expand Down
Loading

0 comments on commit 44526be

Please sign in to comment.