summaryrefslogtreecommitdiffstats
path: root/include/net/9p/9p.h
diff options
context:
space:
mode:
authorVenkateswararao Jujjuri (JV)2011-02-02 05:04:59 +0100
committerEric Van Hensbergen2011-03-15 15:57:36 +0100
commitca41bb3e21d7b3cb2079e225e3a7e62e6c776518 (patch)
treefa65d03bf9d4e8839631ae4a295ab3f1b7ba3e06 /include/net/9p/9p.h
parent[net/9p] readdir zerocopy changes for 9P2000.L protocol. (diff)
downloadkernel-qcow2-linux-ca41bb3e21d7b3cb2079e225e3a7e62e6c776518.tar.gz
kernel-qcow2-linux-ca41bb3e21d7b3cb2079e225e3a7e62e6c776518.tar.xz
kernel-qcow2-linux-ca41bb3e21d7b3cb2079e225e3a7e62e6c776518.zip
[net/9p] Handle Zero Copy TREAD/RERROR case in !dotl case.
This takes care of copying out error buffers from user buffer payloads when we are using zero copy. This happens because the only payload buffer the server has to respond to the request is the user buffer given for the zero copy read. Because we only use zerocopy when the amount of data to transfer is greater than a certain size (currently 4K) and error strings are limited to ERRMAX (currently 128) we don't need to worry about there being sufficient space for the error to fit in the payload. 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/9p.h')
0 files changed, 0 insertions, 0 deletions