]> git.proxmox.com Git - qemu.git/commit
xen_disk: add persistent grant support to xen_disk backend
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 14 Jan 2013 18:28:19 +0000 (18:28 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 14 Jan 2013 18:28:19 +0000 (18:28 +0000)
commit9e496d7458bb01b717afe22db10a724db57d53fd
tree173d6b5a3398e95ac8d747581bf67628893fbd0f
parent282c6a2f292705f823554447ca0b7731b6f81a97
xen_disk: add persistent grant support to xen_disk backend

This protocol extension reuses the same set of grant pages for all
transactions between the front/back drivers, avoiding expensive tlb
flushes, grant table lock contention and switches between userspace
and kernel space. The full description of the protocol can be found in
the public blkif.h header.

http://xenbits.xen.org/gitweb/?p=xen.git;a=blob_plain;f=xen/include/public/io/blkif.h

Speed improvement with 15 guests performing I/O is ~450%.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/xen_disk.c