Message ID | 20180119205847.7141-6-jsnow@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/block/commit.c b/block/commit.c index 898545b318..9cfe3ed76b 100644 --- a/block/commit.c +++ b/block/commit.c @@ -172,7 +172,7 @@ static void coroutine_fn commit_run(void *opaque) /* Note that even when no rate limit is applied we need to yield * with no pending I/O here so that bdrv_drain_all() returns. */ - block_job_sleep_ns(&s->common, delay_ns); + block_job_relax(&s->common, delay_ns); if (block_job_is_cancelled(&s->common)) { break; }