[Qemu-devel] [PATCH 1/2] block: clean up bdrv_drain_all() throttling comments

2013-09-25 Thread Stefan Hajnoczi
Since cc0681c45430a1f1a4c2d06e9499b7775afc9a18 (block: Enable the new throttling code in the block layer.) bdrv_drain_all() no longer spins. The code used to look as follows: do { busy = qemu_aio_wait(); /* FIXME: We do not have timer support here, so this is effectively * a

Re: [Qemu-devel] [PATCH 1/2] block: clean up bdrv_drain_all() throttling comments

2013-09-25 Thread Alex Bligh
On 25 Sep 2013, at 13:15, Stefan Hajnoczi wrote: Since cc0681c45430a1f1a4c2d06e9499b7775afc9a18 (block: Enable the new throttling code in the block layer.) bdrv_drain_all() no longer spins. The code used to look as follows: do { busy = qemu_aio_wait(); /* FIXME: We do not