aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2020-05-01 19:11:09 +0000
committerAl Viro <[email protected]>2020-05-07 02:33:43 +0000
commit12aceb89b0bce19eb89735f9de7a9983e4f0adae (patch)
tree4c16eb79da308c962eb7e586e741275d9085a3a7 /tools/perf/scripts/python/sctop.py
parentLinux 5.7-rc1 (diff)
downloadkernel-12aceb89b0bce19eb89735f9de7a9983e4f0adae.tar.gz
kernel-12aceb89b0bce19eb89735f9de7a9983e4f0adae.zip
eventfd: convert to f_op->read_iter()
eventfd is using ->read() as it's file_operations read handler, but this prevents passing in information about whether a given IO operation is blocking or not. We can only use the file flags for that. To support async (-EAGAIN/poll based) retries for io_uring, we need ->read_iter() support. Convert eventfd to using ->read_iter(). With ->read_iter(), we can support IOCB_NOWAIT. Ensure the fd setup is done such that we set file->f_mode with FMODE_NOWAIT. [missing include added] Signed-off-by: Jens Axboe <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions