linux/net/9p
Venkateswararao Jujjuri (JV) 022cae3655 [net/9p] Preparation and helper functions for zero copy
This patch prepares p9_fcall structure for zero copy. Added
fields send the payload buffer information to the transport layer.
In addition it adds a 'private' field for the transport layer to
store mapped/pinned page information so that it can be freed/unpinned
during req_done.

This patch also creates trans_common.[ch] to house helper functions.
It adds the following helper functions.

p9_release_req_pages - Release pages after the transaction.
p9_nr_pages - Return number of pages needed to accomodate the payload.
payload_gup - Translates user buffer into kernel pages.

Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
2011-03-15 09:57:34 -05:00
..
client.c net/9p: Return error on read with NULL buffer 2010-10-28 09:08:49 -05:00
error.c
Kconfig
Makefile [net/9p] Preparation and helper functions for zero copy 2011-03-15 09:57:34 -05:00
mod.c
protocol.c [net/9p] Preparation and helper functions for zero copy 2011-03-15 09:57:34 -05:00
protocol.h
trans_common.c [net/9p] Preparation and helper functions for zero copy 2011-03-15 09:57:34 -05:00
trans_common.h [net/9p] Preparation and helper functions for zero copy 2011-03-15 09:57:34 -05:00
trans_fd.c net/9p/trans_fd.c: Fix unsigned return type 2010-09-06 18:48:42 -07:00
trans_rdma.c net/9p: fix memory handling/allocation in rdma_request() 2010-09-27 07:52:50 -05:00
trans_virtio.c net/9p: Add waitq to VirtIO transport. 2010-10-28 09:08:48 -05:00
util.c