diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2019-12-18 19:53:45 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-12-18 10:01:49 -0700 |
commit | 7c504e65206a4379ff38fe41d21b32b6c2c3e53e (patch) | |
tree | 7badbc25ff49df5c2493cd5516b9dcbdfa8d7b50 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e781573e2fb1b75acdba61dcb9bcbfc16f288442 (diff) |
io_uring: don't wait when under-submitting
There is no reliable way to submit and wait in a single syscall, as
io_submit_sqes() may under-consume sqes (in case of an early error).
Then it will wait for not-yet-submitted requests, deadlocking the user
in most cases.
Don't wait/poll if can't submit all sqes
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions