]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: replace force_nonblock with flags
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 10 Feb 2021 00:03:07 +0000 (00:03 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Feb 2021 02:15:13 +0000 (19:15 -0700)
commit45d189c6062922ffe272e98013ba464b355dede7
tree1ea67ef939843db7984d9ae871a251f19b37ed2c
parent0e9ddb39b7d964d716cddd6e6bd1aab3f800066e
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>
fs/io_uring.c