diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2019-10-25 12:31:30 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-25 09:01:59 -0600 |
commit | fb5ccc98782f654778cb8d96ba8a998304f9a51f (patch) | |
tree | 70b840cd5ee423a968d1a4232d11e44890c4bbba /fs/befs/super.c | |
parent | 84d55dc5b9e57b513a702fbc358e1b5489651590 (diff) | |
download | linux-fb5ccc98782f654778cb8d96ba8a998304f9a51f.tar.gz linux-fb5ccc98782f654778cb8d96ba8a998304f9a51f.tar.bz2 linux-fb5ccc98782f654778cb8d96ba8a998304f9a51f.zip |
io_uring: Fix broken links with offloading
io_sq_thread() processes sqes by 8 without considering links. As a
result, links will be randomely subdivided.
The easiest way to fix it is to call io_get_sqring() inside
io_submit_sqes() as do io_ring_submit().
Downsides:
1. This removes optimisation of not grabbing mm_struct for fixed files
2. It submitting all sqes in one go, without finer-grained sheduling
with cq processing.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/befs/super.c')
0 files changed, 0 insertions, 0 deletions