summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-05-26 20:34:05 +0300
committerJens Axboe <axboe@kernel.dk>2020-05-26 22:31:09 +0300
commit0451894522108d6c72934aff6ef89023743a9ed4 (patch)
tree39ff33d7b3507609ddb89cda8f6faba412f8d8a8 /drivers
parent56080b02ed6e71fbc0add2d05a32ed7361dd736a (diff)
downloadlinux-0451894522108d6c72934aff6ef89023743a9ed4.tar.xz
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions