]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: decouple issuing and req preparation
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 30 Sep 2020 19:57:55 +0000 (22:57 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:38:46 +0000 (20:38 -0600)
commit52c23476f72b1cad4f5cb38ebb374961da83eee5
tree434e81a5106f828e3f9504c9f022b80845e30b6d
parentfe4a813a36d538116f09875f4f11dd0ce9ec9e88
io_uring: decouple issuing and req preparation

io_issue_sqe() does two things at once, trying to prepare request and
issuing them. Split it in two and deduplicate with io_defer_prep().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c