]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Increase AIO_MAX to 256
authorAsias He <asias.hejun@gmail.com>
Mon, 4 Jun 2012 15:10:04 +0000 (23:10 +0800)
committerPekka Enberg <penberg@kernel.org>
Tue, 12 Jun 2012 09:09:52 +0000 (12:09 +0300)
commitb9137f616884386484319f33cd6bec2839486233
treee89769e54969b799c3f2e095a8bc81a74db7b77f
parent7d93accb8310f43952675505acf0191b22736e81
kvm tools: Increase AIO_MAX to 256

The queue size for virtio_blk is 256 and AIO_MAX is 32, we might be
short of available aio events if guest issues > 32 requests
simultaneously. Following error is observed when guest running stressed
I/O workload.

  Info: disk_image__read error: total=-11

To fix this, let's increase the aio events limit.

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