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
..
2011-03-04 12:25:05 -08:00
2011-03-01 23:02:07 -08:00
2011-01-27 14:15:54 -08:00
2011-01-12 19:00:40 -08:00
2011-03-10 14:18:48 -08:00
2010-12-19 21:59:35 -08:00
2011-01-10 13:33:17 -08:00
2011-02-09 22:36:13 -08:00