djs55/ocaml-xen-block-driver — pull request #5 by djs55 (2013-07-16 12:39:54+00:00)
Title: blkback: batch grant map, unmap as much as possible

Take all requests currently on the ring and map/unmap them all at once,
one mapv for read requests (which need write permissions) and one mapv
for write requests (which only need read permissions).

In the userspace blkback server using the DISCARD backend, our performance
is now up to ~800MiB/sec in both directions.