qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.0 0/2] mirror: fix rate-limiting
@ 2014-03-21 12:55 Stefan Hajnoczi
  2014-03-21 12:55 ` [Qemu-devel] [PATCH for-2.0 1/2] mirror: fix throttling delay calculation Stefan Hajnoczi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2014-03-21 12:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, Michal Privoznik, Jeff Cody, Joaquim Barrera,
	Stefan Hajnoczi, Paolo Bonzini

Rate-limiting is broken for drive-mirror because the calculations are performed
using an inaccurate sector count and aio completion is waking up the sleeping
coroutine early.  These patches from Paolo and me fix the issue.

Paolo Bonzini (1):
  mirror: fix throttling delay calculation

Stefan Hajnoczi (1):
  mirror: fix early wake from sleep due to aio

 block/mirror.c | 37 +++++++++++++++++++++++--------------
 trace-events   |  2 +-
 2 files changed, 24 insertions(+), 15 deletions(-)

-- 
1.8.5.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-25 12:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-21 12:55 [Qemu-devel] [PATCH for-2.0 0/2] mirror: fix rate-limiting Stefan Hajnoczi
2014-03-21 12:55 ` [Qemu-devel] [PATCH for-2.0 1/2] mirror: fix throttling delay calculation Stefan Hajnoczi
2014-03-21 12:55 ` [Qemu-devel] [PATCH for-2.0 2/2] mirror: fix early wake from sleep due to aio Stefan Hajnoczi
2014-03-21 12:57 ` [Qemu-devel] [PATCH for-2.0 0/2] mirror: fix rate-limiting Paolo Bonzini
2014-03-25 12:50 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).