diff options
author | Christian Brauner <brauner@kernel.org> | 2024-04-11 11:06:08 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-04-11 11:06:08 +0300 |
commit | 3a93daea2fb27fcefa85662654ba583a5d0c7231 (patch) | |
tree | 4af6446af26ebfe51fe2da7cc22a7fc36fafcc1f /drivers/iio/pressure/bmp280-spi.c | |
parent | fec50db7033ea478773b159e0e2efb135270e3b7 (diff) | |
parent | fbe38120eb1dec94280d0381ce4aea52c44367b1 (diff) | |
download | linux-3a93daea2fb27fcefa85662654ba583a5d0c7231.tar.xz |
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>
Diffstat (limited to 'drivers/iio/pressure/bmp280-spi.c')
0 files changed, 0 insertions, 0 deletions