Re: [PATCH v7 1/4] block/replication.c: Ignore requests after failover

2019-10-29 Thread Max Reitz
On 24.10.19 16:25, Lukas Straub wrote: > After failover the Secondary side of replication shouldn't change state, > because > it now functions as our primary disk. > > In replication_start, replication_do_checkpoint, replication_stop, ignore > the request if current state is BLOCK_REPLICATION_DON

[PATCH v7 1/4] block/replication.c: Ignore requests after failover

2019-10-24 Thread Lukas Straub
After failover the Secondary side of replication shouldn't change state, because it now functions as our primary disk. In replication_start, replication_do_checkpoint, replication_stop, ignore the request if current state is BLOCK_REPLICATION_DONE (sucessful failover) or BLOCK_REPLICATION_FAILOVER