Re: [Qemu-devel] [PATCH v2] rbd: add an asynchronous flush

2013-04-12 Thread Stefan Hajnoczi
On Fri, Apr 12, 2013 at 08:50:35AM +0200, Kevin Wolf wrote: > Am 11.04.2013 um 19:19 hat Josh Durgin geschrieben: > > On 04/11/2013 01:48 AM, Kevin Wolf wrote: > > >Am 11.04.2013 um 10:02 hat Stefan Hajnoczi geschrieben: > > >>On Wed, Apr 10, 2013 at 07:03:39AM -0700, Josh Durgin wrote: > > >>>On 0

Re: [Qemu-devel] [PATCH v2] rbd: add an asynchronous flush

2013-04-11 Thread Kevin Wolf
Am 11.04.2013 um 19:19 hat Josh Durgin geschrieben: > On 04/11/2013 01:48 AM, Kevin Wolf wrote: > >Am 11.04.2013 um 10:02 hat Stefan Hajnoczi geschrieben: > >>On Wed, Apr 10, 2013 at 07:03:39AM -0700, Josh Durgin wrote: > >>>On 04/02/2013 07:10 AM, Kevin Wolf wrote: > Am 29.03.2013 um 21:03 hat

Re: [Qemu-devel] [PATCH v2] rbd: add an asynchronous flush

2013-04-11 Thread Josh Durgin
On 04/11/2013 01:48 AM, Kevin Wolf wrote: Am 11.04.2013 um 10:02 hat Stefan Hajnoczi geschrieben: On Wed, Apr 10, 2013 at 07:03:39AM -0700, Josh Durgin wrote: On 04/02/2013 07:10 AM, Kevin Wolf wrote: Am 29.03.2013 um 21:03 hat Josh Durgin geschrieben: The existing bdrv_co_flush_to_disk imple

Re: [Qemu-devel] [PATCH v2] rbd: add an asynchronous flush

2013-04-11 Thread Kevin Wolf
Am 11.04.2013 um 10:02 hat Stefan Hajnoczi geschrieben: > On Wed, Apr 10, 2013 at 07:03:39AM -0700, Josh Durgin wrote: > > On 04/02/2013 07:10 AM, Kevin Wolf wrote: > > >Am 29.03.2013 um 21:03 hat Josh Durgin geschrieben: > > >>The existing bdrv_co_flush_to_disk implementation uses rbd_flush(), > >

Re: [Qemu-devel] [PATCH v2] rbd: add an asynchronous flush

2013-04-11 Thread Stefan Hajnoczi
On Wed, Apr 10, 2013 at 07:03:39AM -0700, Josh Durgin wrote: > On 04/02/2013 07:10 AM, Kevin Wolf wrote: > >Am 29.03.2013 um 21:03 hat Josh Durgin geschrieben: > >>The existing bdrv_co_flush_to_disk implementation uses rbd_flush(), > >>which is sychronous and causes the main qemu thread to block un

Re: [Qemu-devel] [PATCH v2] rbd: add an asynchronous flush

2013-04-10 Thread Josh Durgin
On 04/02/2013 07:10 AM, Kevin Wolf wrote: Am 29.03.2013 um 21:03 hat Josh Durgin geschrieben: The existing bdrv_co_flush_to_disk implementation uses rbd_flush(), which is sychronous and causes the main qemu thread to block until it is complete. This results in unresponsiveness and extra latency

Re: [Qemu-devel] [PATCH v2] rbd: add an asynchronous flush

2013-04-02 Thread Kevin Wolf
Am 29.03.2013 um 21:03 hat Josh Durgin geschrieben: > The existing bdrv_co_flush_to_disk implementation uses rbd_flush(), > which is sychronous and causes the main qemu thread to block until it > is complete. This results in unresponsiveness and extra latency for > the guest. > > Fix this by using

[Qemu-devel] [PATCH v2] rbd: add an asynchronous flush

2013-03-29 Thread Josh Durgin
The existing bdrv_co_flush_to_disk implementation uses rbd_flush(), which is sychronous and causes the main qemu thread to block until it is complete. This results in unresponsiveness and extra latency for the guest. Fix this by using an asynchronous version of flush. This was added to librbd wit