commit | 14cfbb7a7856f190035f8e53045bdbfa648fae41 | [log] [tgz] |
---|---|---|
author | Hao Xu <haoxu@linux.alibaba.com> | Thu Oct 14 22:04:00 2021 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Oct 14 09:06:11 2021 -0600 |
tree | 7930f223e94c3206b1c4115334184ed06a3813c0 | |
parent | 3f008385d46d3cea4a097d2615cd485f2184ba26 [diff] |
io_uring: fix wrong condition to grab uring lock Grab uring lock when we are in io-worker rather than in the original or system-wq context since we already hold it in these two situation. Signed-off-by: Hao Xu <haoxu@linux.alibaba.com> Fixes: b66ceaf324b3 ("io_uring: move iopoll reissue into regular IO path") Link: https://lore.kernel.org/r/20211014140400.50235-1-haoxu@linux.alibaba.com Signed-off-by: Jens Axboe <axboe@kernel.dk>