mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
Merge branch 'read_iter' of git://git.kernel.dk/linux
Pull read_iter updates from Jens Axboe: There are still a few users of fops->read() in the core parts of the fs stack. Which is a shame, since it'd be nice to get rid of the non-iterator parts of down the line, and reclaim that part of the file_operations struct. Outside of moving in that direction as a cleanup, using ->read_iter() enables us to mark them with FMODE_NOWAIT. This is important for users like io_uring, where per-IO nonblocking hints make a difference in how efficiently IO can be done. Those two things are my main motivation for starting this work, with hopefully more to come down the line. All patches have been booted and tested, and the corresponding test cases from ltp have been run. * 'read_iter' of git://git.kernel.dk/linux: (4 commits) signalfd: convert to ->read_iter() userfaultfd: convert to ->read_iter() timerfd: convert to ->read_iter() new helper: copy_to_iter_full() Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
commit
3a93daea2f
5 changed files with 93 additions and 50 deletions
Loading…
Add table
Add a link
Reference in a new issue