]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3e61359089dad6a3fd6cb087853100865c4f750
treed21553bb56e1b822a2dafa8718a0bfa3f78f695f
parent1f8cb9610f069197b00b2beaf4d79d749e2e2673
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