Re: [Qemu-block] [Qemu-devel] Minutes from the "Stuttgart block Gipfele"

2016-01-03 Thread Fam Zheng
On Mon, 01/04 13:16, Stefan Hajnoczi wrote: > On Wed, Dec 23, 2015 at 06:15:20PM +0800, Fam Zheng wrote: > > On Fri, 12/18 14:15, Markus Armbruster wrote: > > In that theory, all other block job types, mirror/stream/commit, fit into a > > "pull" model, which follows a specified dirty bitmap and cop

Re: [Qemu-block] [Patch v12 resend 05/10] docs: block replication's description

2016-01-03 Thread Wen Congyang
On 12/23/2015 05:26 PM, Stefan Hajnoczi wrote: > On Wed, Dec 02, 2015 at 01:31:46PM +0800, Wen Congyang wrote: >> +== Failure Handling == >> +There are 6 internal errors when block replication is running: >> +1. I/O error on primary disk >> +2. Forwarding primary write requests failed >> +3. Backup

Re: [Qemu-block] [Patch v12 resend 08/10] Implement new driver for block replication

2016-01-03 Thread Wen Congyang
On 12/23/2015 05:47 PM, Stefan Hajnoczi wrote: > On Wed, Dec 02, 2015 at 01:37:25PM +0800, Wen Congyang wrote: >> +/* >> + * Only write to active disk if the sectors have >> + * already been allocated in active disk/hidden disk. >> + */ >> +qemu_iovec_init(&hd_qiov, qiov->niov);

Re: [Qemu-block] [Patch v12 resend 00/10] Block replication for continuous checkpoints

2016-01-03 Thread Wen Congyang
On 12/23/2015 06:04 PM, Stefan Hajnoczi wrote: > On Thu, Dec 17, 2015 at 02:22:14PM +0800, Wen Congyang wrote: >> Stefan:Ping... >> >> What about this feature? I have worked for it about 1 year, but it is still >> in the >> way... > > The code still has TODOs. What is the plan for supporting rep

Re: [Qemu-block] [Patch v12 resend 00/10] Block replication for continuous checkpoints

2016-01-03 Thread Stefan Hajnoczi
On Thu, Dec 17, 2015 at 02:22:14PM +0800, Wen Congyang wrote: > Stefan:Ping... > > What about this feature? I have worked for it about 1 year, but it is still > in the > way... The code still has TODOs. What is the plan for supporting replication after failover? This feature seems critical bec

Re: [Qemu-block] [Patch v12 resend 08/10] Implement new driver for block replication

2016-01-03 Thread Stefan Hajnoczi
On Wed, Dec 02, 2015 at 01:37:25PM +0800, Wen Congyang wrote: > +/* > + * Only write to active disk if the sectors have > + * already been allocated in active disk/hidden disk. > + */ > +qemu_iovec_init(&hd_qiov, qiov->niov); > +while (remaining_sectors > 0) { > +ret

Re: [Qemu-block] [Patch v12 resend 05/10] docs: block replication's description

2016-01-03 Thread Stefan Hajnoczi
On Wed, Dec 02, 2015 at 01:31:46PM +0800, Wen Congyang wrote: > +== Failure Handling == > +There are 6 internal errors when block replication is running: > +1. I/O error on primary disk > +2. Forwarding primary write requests failed > +3. Backup failed > +4. I/O error on secondary disk > +5. I/O er

Re: [Qemu-block] [Qemu-devel] Minutes from the "Stuttgart block Gipfele"

2016-01-03 Thread Stefan Hajnoczi
On Wed, Dec 23, 2015 at 06:15:20PM +0800, Fam Zheng wrote: > On Fri, 12/18 14:15, Markus Armbruster wrote: > In that theory, all other block job types, mirror/stream/commit, fit into a > "pull" model, which follows a specified dirty bitmap and copies data from a > specified src BDS. In this pull mo