]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/9p: Update zero-copy implementation in 9p
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 17 Aug 2011 16:53:49 +0000 (16:53 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 22 Aug 2011 15:46:09 +0000 (10:46 -0500)
commit661a478159ad383cddae99a2642b08939ef93339
tree877eca287c3018c0acfbf66f25e230849c9b08b8
parentb3f4fd15016840115f45f68da1cbf03dacb44d1f
fs/9p: Update zero-copy implementation in 9p

* remove lot of update to different data structure
* add a seperate callback for zero copy request.
* above makes non zero copy code path simpler
* remove conditionalizing TREAD/TREADDIR/TWRITE in the zero copy path
* Fix the dotu p9_check_errors with zero copy. Add sufficient doc around
* Add support for both in and output buffers in zero copy callback
* pin and unpin pages in the same context
* use helpers instead of defining page offset and rest of page ourself
* Fix mem leak in p9_check_errors
* Remove 'E' and 'F' in p9pdu_vwritef

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_dir.c
include/net/9p/9p.h
include/net/9p/transport.h
net/9p/client.c
net/9p/protocol.c
net/9p/protocol.h
net/9p/trans_common.c
net/9p/trans_common.h
net/9p/trans_virtio.c