diff options
author | Jackie Liu <liuyun01@kylinos.cn> | 2019-09-09 20:50:39 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-09 16:14:47 -0600 |
commit | 8776f3fa15a5cd213c4dfab7ddaf557983374ea6 (patch) | |
tree | a3844c46ef13328be32e5894046b45fe04a6c2b5 /arch/sparc | |
parent | ac90f249e15cd2a850daa9e36e15f81ce1ff6550 (diff) |
io_uring: fix wrong sequence setting logic
Sqo_thread will get sqring in batches, which will cause
ctx->cached_sq_head to be added in batches. if one of these
sqes is set with the DRAIN flag, then he will never get a
chance to process, and finally sqo_thread will not exit.
Fixes: de0617e4671 ("io_uring: add support for marking commands as draining")
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions