diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-12 00:37:41 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-05-06 23:36:00 +0200 |
commit | 293bc9822fa9b3c9d4b7893bcb241e085580771a (patch) | |
tree | 89aae8e9d832199906d413dcffd5b885bcee14fe /fs/ext2/file.c | |
parent | replace checking for ->read/->aio_read presence with check in ->f_mode (diff) | |
download | linux-293bc9822fa9b3c9d4b7893bcb241e085580771a.tar.xz linux-293bc9822fa9b3c9d4b7893bcb241e085580771a.zip |
new methods: ->read_iter() and ->write_iter()
Beginning to introduce those. Just the callers for now, and it's
clumsier than it'll eventually become; once we finish converting
aio_read and aio_write instances, the things will get nicer.
For now, these guys are in parallel to ->aio_read() and ->aio_write();
they take iocb and iov_iter, with everything in iov_iter already
validated. File offset is passed in iocb->ki_pos, iov/nr_segs -
in iov_iter.
Main concerns in that series are stack footprint and ability to
split the damn thing cleanly.
[fix from Peter Ujfalusi <peter.ujfalusi@ti.com> folded]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext2/file.c')
0 files changed, 0 insertions, 0 deletions