commit | 0451894522108d6c72934aff6ef89023743a9ed4 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue May 26 20:34:05 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Tue May 26 13:31:09 2020 -0600 |
tree | 39ff33d7b3507609ddb89cda8f6faba412f8d8a8 | |
parent | 56080b02ed6e71fbc0add2d05a32ed7361dd736a [diff] |
io_uring: separate DRAIN flushing into a cold path io_commit_cqring() assembly doesn't look good with extra code handling drained requests. IOSQE_IO_DRAIN is slow and discouraged to be used in a hot path, so try to minimise its impact by putting it into a helper and doing a fast check. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>