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
2021-02-10 00:03:07 +00:00
committed by Jens Axboe
parent 0e9ddb39b7
commit 45d189c606
+96 -82
View File
File diff suppressed because it is too large Load Diff