]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Get multiple io events at a time
authorAsias He <asias.hejun@gmail.com>
Tue, 29 Nov 2011 13:04:04 +0000 (21:04 +0800)
committerPekka Enberg <penberg@kernel.org>
Tue, 29 Nov 2011 18:07:30 +0000 (20:07 +0200)
commit60650f953b2eb5aa46e126676e796a4e6e5259bf
tree7cc96eaf1e4f539d63a301e6bf80f1398e525334
parentf44d87883dcda5897fe5f16d99e30156f88c9c93
kvm tools: Get multiple io events at a time

This patch reduces the number of calls to io_getevents() by getting
multiple io events at a time instead of one in disk image thread.

Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/disk/core.c