diff options
author | 2024-04-01 11:48:37 -0600 | |
---|---|---|
committer | 2024-04-10 16:23:02 -0600 | |
commit | d94979904105a7ad8dca6fdcd8cb3fbecada22f1 (patch) | |
tree | a309593fd67d235cab96063c8ab74eaec31da7f4 /scripts/generate_rust_analyzer.py | |
parent | Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into read_iter (diff) | |
download | wireguard-linux-d94979904105a7ad8dca6fdcd8cb3fbecada22f1.tar.xz wireguard-linux-d94979904105a7ad8dca6fdcd8cb3fbecada22f1.zip |
timerfd: convert to ->read_iter()
Switch timerfd to using fops->read_iter(), so it can support not just
O_NONBLOCK but IOCB_NOWAIT as well. With the latter, users like io_uring
interact with timerfds a lot better, as they can be driven purely
by the poll trigger.
Manually get and install the required fd, so that FMODE_NOWAIT can be
set before the file is installed into the file table.
No functional changes intended in this patch, it's purely a straight
conversion to using the read iterator method.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions