]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove REQ_F_IO_DRAINED
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 17 Jan 2020 22:22:30 +0000 (01:22 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jan 2020 00:04:07 +0000 (17:04 -0700)
commit692d2ba883c1beaed191ac4798101049fc942fcd
tree4de9e24e3b6913abe99aadae4ded072b1c0cbe29
parent55d8162825e1f4a61d94e3b757d16bc1b43d7ed6
io_uring: remove REQ_F_IO_DRAINED

A request can get into the defer list only once, there is no need for
marking it as drained, so remove it. This probably was left after
extracting __need_defer() for use in timeouts.

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