summaryrefslogtreecommitdiffstats
path: root/include/net/9p
diff options
context:
space:
mode:
authorVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>2011-02-16 12:54:22 -0800
committerEric Van Hensbergen <ericvh@gmail.com>2011-03-15 09:57:36 -0500
commitf735195d51e10b2550097f7b0ac12219060e962b (patch)
tree96e752ebf09cad819b9f5dcb178fc016a4dfdd86 /include/net/9p
parentca41bb3e21d7b3cb2079e225e3a7e62e6c776518 (diff)
downloadlinux-f735195d51e10b2550097f7b0ac12219060e962b.tar.gz
linux-f735195d51e10b2550097f7b0ac12219060e962b.tar.bz2
linux-f735195d51e10b2550097f7b0ac12219060e962b.zip
[net/9p] Small non-IO PDUs for zero-copy supporting transports.
If a transport prefers payload to be sent separate from the PDU (P9_TRANS_PREF_PAYLOAD_SEP), there is no need to allocate msize PDU buffers(struct p9_fcall). This patch allocates only upto 4k buffers for this kind of transports and there won't be any change to the legacy transports. Hence, this patch on top of zero copy changes allows user to specify higher msizes through the mount option without hogging the kernel heap. Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include/net/9p')
-rw-r--r--include/net/9p/9p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/9p/9p.h b/include/net/9p/9p.h
index 7aefa6d975ac..eaa45f932970 100644
--- a/include/net/9p/9p.h
+++ b/include/net/9p/9p.h
@@ -688,7 +688,7 @@ struct p9_rwstat {
* @id: protocol operating identifier of type &p9_msg_t
* @tag: transaction id of the request
* @offset: used by marshalling routines to track currentposition in buffer
- * @capacity: used by marshalling routines to track total capacity
+ * @capacity: used by marshalling routines to track total malloc'd capacity
* @pubuf: Payload user buffer given by the caller
* @pubuf: Payload kernel buffer given by the caller
* @pbuf_size: pubuf/pkbuf(only one will be !NULL) size to be read/write.