]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.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>
Wed, 16 Jan 2013 11:54:37 +0000 (11:54 +0000)
commitb0acf299c1dc6b1d40193399659f06bacc14c5e6
tree1f8b3881cc619b332c153ea83a44b8e8f88dc309
parent7dc2caee5569a7d6aed019fe2bd6e43d83f9845e
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%.

upstream-commit-id: 9e496d7458bb01b717afe22db10a724db57d53fd

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