io_uring: pass required context in as flags
authorJens Axboe <axboe@kernel.dk>
Wed, 14 Oct 2020 15:23:55 +0000 (09:23 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 17 Oct 2020 15:25:45 +0000 (09:25 -0600)
commit0f203765880c4416675726be558b65da4a7604e2
treed21553bb56e1b822a2dafa8718a0bfa3f78f695f
parenta8b595b22d31f83b715511f59012f152a269d83b
io_uring: pass required context in as flags

We have a number of bits that decide what context to inherit. Set up
io-wq flags for these instead. This is in preparation for always having
the various members set, but not always needing them for all requests.

No intended functional changes in this patch.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c
fs/io-wq.h
fs/io_uring.c