diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-11 18:37:41 -0500 |
---|---|---|
committer | Paul Osmialowski <p.osmialowsk@samsung.com> | 2015-04-15 17:45:09 +0200 |
commit | 778a43408f732464f684f06af742eacdb9748eb8 (patch) | |
tree | 87eb906dd43462d30129a0451ea514e5bbfaf840 /lib/bsearch.c | |
parent | 8d4f4bf0cc146699097ba8417b03e0bef8b0f976 (diff) | |
download | linux-3.10-sandbox/pawelo/kdbus-next-wip.tar.gz linux-3.10-sandbox/pawelo/kdbus-next-wip.tar.bz2 linux-3.10-sandbox/pawelo/kdbus-next-wip.zip |
new methods: ->read_iter() and ->write_iter()sandbox/pawelo/kdbus-next-wip
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]
Change-Id: Ib9c6cff05b7ecf8f1052a74c4ec603efb21514e5
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/bsearch.c')
0 files changed, 0 insertions, 0 deletions