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>
Thu, 15 Oct 2020 17:50:08 +0000 (11:50 -0600)
commite87bb80894ba88b852ad3d8898bdbb80de71d789
tree2b03460dcfd248b3558aa887ed0d2e70004b94e8
parent0f1eba214c81d6f53a3472e8a103fb5f7a401912
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