Re: [Qemu-devel] [PATCH -v5] ceph/rbd block driver for qemu-kvm

2010-10-09 Thread Yehuda Sadeh Weinraub
On Sat, Oct 9, 2010 at 2:21 AM, Stefan Hajnoczi wrote: > On Fri, Oct 8, 2010 at 8:00 PM, Yehuda Sadeh wrote: > No flush operation is supported.  Can the guest be sure written data > is on stable storage when it receives completion? > That's part of the consistency that rados provides. >> +/* >>

Re: [Qemu-devel] [PATCH -v5] ceph/rbd block driver for qemu-kvm

2010-10-09 Thread Stefan Hajnoczi
On Fri, Oct 8, 2010 at 8:00 PM, Yehuda Sadeh wrote: No flush operation is supported. Can the guest be sure written data is on stable storage when it receives completion? > +/* > + * This aio completion is being called from rbd_aio_event_reader() and > + * runs in qemu context. It schedules a bh,

[Qemu-devel] [PATCH -v5] ceph/rbd block driver for qemu-kvm

2010-10-08 Thread Yehuda Sadeh
From: Christian Brunner Hi Anthony, Here's an updated rbd driver, that fixes the issues you pointed at. Main issue that has been delt with is moving the main aio handling from the librados callback to the reader handler that runs in the qemu context. All the librados callback does now is sendi