Re: [PATCH v5 4/5] replication: Assert that children are writable

2021-07-15 Thread Vladimir Sementsov-Ogievskiy
12.07.2021 14:54, Lukas Straub wrote: Assert that the children are writable where it's needed. While there is no test-case for the BLOCK_REPLICATION_FAILOVER_FAILED state, this at least ensures that s->secondary_disk is always writable in case replication might go into that state. Signed-off-by:

[PATCH v5 4/5] replication: Assert that children are writable

2021-07-12 Thread Lukas Straub
Assert that the children are writable where it's needed. While there is no test-case for the BLOCK_REPLICATION_FAILOVER_FAILED state, this at least ensures that s->secondary_disk is always writable in case replication might go into that state. Signed-off-by: Lukas Straub --- block/replication.c