linux/net/9p
Venkateswararao Jujjuri (JV) ca41bb3e21 [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>
2011-03-15 09:57:36 -05:00
..
client.c [net/9p] Handle Zero Copy TREAD/RERROR case in !dotl case. 2011-03-15 09:57:36 -05:00
error.c net/9p: insulate the client against an invalid error code sent by a 9p server 2009-08-17 16:39:54 -05:00
Kconfig 9p: disallow RDMA if RDMA CM isn't available 2009-01-15 16:39:42 -08:00
Makefile [net/9p] Preparation and helper functions for zero copy 2011-03-15 09:57:34 -05:00
mod.c 9p: consolidate transport structure 2008-10-17 11:04:41 -05:00
protocol.c [net/9p] readdir zerocopy changes for 9P2000.L protocol. 2011-03-15 09:57:35 -05:00
protocol.h 9P2010.L handshake: Remove "dotu" variable 2010-03-05 15:04:42 -06:00
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] Add gup/zero_copy support to VirtIO transport layer. 2011-03-15 09:57:35 -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 preferences to transport layer. 2011-03-15 09:57:35 -05:00
util.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00