diff options
author | Roman Penyaev <rpenyaev@suse.de> | 2019-05-27 21:05:10 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-27 14:54:15 -0600 |
commit | f6a03bde232e4d0c53c6f3ce3422af37bf34cce7 (patch) | |
tree | 0d9e8a769abeb913a4b2a2d467320aea10b0712f /man | |
parent | df23d2dec286697dd73568faf142466e8067844a (diff) |
queue: always fill in sq->array on io_uring_submit()
io_uring_submit() is a last commit point when a caller has to be sure
that all prepared sqes eventually lands to the kernel.
If SQ thread is running it is quite possible that khead != ktail, thus
charging of sq->array is skipped, which leads to IO hang.
Nasty hang is well reproduced when submitter and completion harverster
are different threads.
Signed-off-by: Roman Penyaev <rpenyaev@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions