io_uring: replace force_nonblock with flags

Replace bool force_nonblock with flags. It has a long standing goal of
differentiating context from which we execute. Currently we have some
subtle places where some invariants, like holding of uring_lock, are
subtly inferred.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Pavel Begunkov authored and Jens Axboe committed 2021-02-09 19:15:13 -07:00
1 parent 0e9ddb39b7
commit 45d189c606
1 file changed
+96 -82
+96 -82
View File
File diff suppressed because it is too large. Load diff