aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-06-09 12:07:25 +0100
committerJens Axboe <[email protected]>2021-06-14 08:23:05 -0600
commit976517f162a05f4315b2373fd11585c395506259 (patch)
tree5e51a188db23ab60450d530aca77cc0ee8b49008 /tools/perf/scripts/python
parent40dad765c045ab6dbd481cc4f00d04953e77510c (diff)
io_uring: fix blocking inline submission
There is a complaint against sys_io_uring_enter() blocking if it submits stdin reads. The problem is in __io_file_supports_async(), which sees that it's a cdev and allows it to be processed inline. Punt char devices using generic rules of io_file_supports_async(), including checking for presence of *_iter() versions of rw callbacks. Apparently, it will affect most of cdevs with some exceptions like null and zero devices. Cc: [email protected] Reported-by: Birk Hirdman <[email protected]> Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/d60270856b8a4560a639ef5f76e55eb563633599.1623236455.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions