]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: refactor io_flush_cached_reqs()
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 19 Mar 2021 17:22:35 +0000 (17:22 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 11 Apr 2021 23:41:58 +0000 (17:41 -0600)
commit53bc7a5bc8680065f3165a805ba4dd4d6f4566a7
tree086b78265dc219900dda3a7315b6e7ac25ecbb4c
parent62e36eeb66de30ffb7757bd57d9014b0ad99f9e2
io_uring: refactor io_flush_cached_reqs()

Emphasize that return value of io_flush_cached_reqs() depends on number
of requests in the cache. It looks nicer and might help tools from
false-negative analyses.

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