]> git.karo-electronics.de Git - karo-tx-linux.git/commit
new methods: ->read_iter() and ->write_iter()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 11 Feb 2014 23:37:41 +0000 (18:37 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 23 Apr 2014 17:50:36 +0000 (13:50 -0400)
commit4ba221d091f294a173a21f0c7268937a045982bd
tree1457feb19c7138f36ec102134741a5f3759bc660
parent1bae363f29fd20fb3271b194bd11de8d3693ddfd
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>
fs/aio.c
fs/file_table.c
fs/open.c
fs/read_write.c
include/linux/fs.h