]> git.proxmox.com Git - mirror_qemu.git/commit
migration/block: limit the number of parallel I/O requests
authorPeter Lieven <pl@kamp.de>
Thu, 8 Mar 2018 11:18:27 +0000 (12:18 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 23 Mar 2018 16:45:03 +0000 (16:45 +0000)
commit44815334e10365ae5c60914c1d9fcecfe5ed5982
tree46d1057e71b4ccff493a939f716e4e644cd79bd6
parente8a0f2f9a18f6ab4aa4896cef0010bcad1f323c4
migration/block: limit the number of parallel I/O requests

the current implementation submits up to 512 I/O requests in parallel
which is much to high especially for a background task.
This patch adds a maximum limit of 16 I/O requests that can
be submitted in parallel to avoid monopolizing the I/O device.

Signed-off-by: Peter Lieven <pl@kamp.de>
Message-Id: <1520507908-16743-5-git-send-email-pl@kamp.de>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/block.c