Message ID | 1386347807-27359-47-git-send-email-stefanha@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/block.c b/block.c index 1c83ef1..13f001a 100644 --- a/block.c +++ b/block.c @@ -1557,13 +1557,8 @@ void bdrv_drain_all(void) BlockDriverState *bs; while (busy) { - /* FIXME: We do not have timer support here, so this is effectively - * a busy wait. - */ QTAILQ_FOREACH(bs, &bdrv_states, list) { - if (bdrv_start_throttled_reqs(bs)) { - busy = true; - } + bdrv_start_throttled_reqs(bs); } busy = bdrv_requests_pending_all();