Lukas Straub
08ddb4eb6d
block/replication.c: Ignore requests after failover
...
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 (failover in progres i.e. currently merging active
and hidden images into the base image).
Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Acked-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2020-03-03 18:04:47 +08:00
..
2019-10-10 10:56:18 +02:00
2019-10-10 10:56:17 +02:00
2020-02-20 16:43:42 +01:00
2019-10-10 10:56:18 +02:00
2020-01-27 17:19:53 +01:00
2020-01-06 13:43:06 +01:00
2019-06-12 13:18:33 +02:00
2019-10-14 17:12:48 +02:00
2020-02-18 11:55:40 +01:00
2019-10-28 12:00:07 +01:00
2019-11-04 09:21:45 +01:00
2019-09-16 14:48:30 +02:00
2019-09-16 14:48:30 +02:00
2020-02-18 10:53:56 +01:00
2020-02-18 11:55:40 +01:00
2019-09-13 12:18:37 +02:00
2019-10-28 12:05:30 +01:00
2019-05-13 08:58:55 +02:00
2019-09-16 15:31:12 +02:00
2019-11-18 16:01:34 -06:00
2019-06-12 13:20:20 +02:00
2018-12-14 11:52:40 +01:00
2019-09-16 14:48:30 +02:00
2019-06-12 13:20:20 +02:00
2020-02-20 16:43:42 +01:00
2019-10-28 12:00:07 +01:00
2020-02-18 11:55:40 +01:00
2019-10-28 12:00:07 +01:00
2020-02-18 10:54:02 +01:00
2020-02-07 16:46:59 +00:00
2019-06-12 13:18:33 +02:00
2020-02-20 16:43:42 +01:00
2020-01-13 16:41:45 +00:00
2020-01-30 20:59:41 +00:00
2020-02-18 11:55:40 +01:00
2020-02-26 17:29:00 -06:00
2019-10-28 12:00:07 +01:00
2019-10-14 17:12:48 +02:00
2019-10-28 11:34:35 +01:00
2019-10-28 14:40:01 +00:00
2018-02-09 05:05:11 +01:00
2020-02-20 16:43:42 +01:00
2020-02-18 10:53:56 +01:00
2019-10-26 15:38:06 +02:00
2020-02-18 10:53:56 +01:00
2020-02-18 10:53:56 +01:00
2020-02-06 13:47:45 +01:00
2020-02-18 10:53:56 +01:00
2020-02-20 16:43:42 +01:00
2019-11-07 14:37:46 +01:00
2019-10-28 12:00:07 +01:00
2019-04-30 15:29:00 +02:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2019-04-30 15:29:00 +02:00
2019-10-28 12:08:45 +01:00
2019-04-30 15:29:00 +02:00
2020-02-18 11:55:40 +01:00
2019-10-28 12:05:30 +01:00
2019-10-28 12:00:07 +01:00
2020-03-03 18:04:47 +08:00
2019-10-28 12:00:07 +01:00
2019-12-18 08:43:19 +01:00
2019-10-28 12:00:07 +01:00
2019-09-10 08:58:43 +02:00
2020-01-06 13:43:06 +01:00
2020-02-18 11:55:40 +01:00
2020-01-30 20:59:42 +00:00
2019-10-28 12:00:07 +01:00
2019-06-12 13:20:20 +02:00
2019-10-28 12:00:07 +01:00
2019-10-28 12:00:07 +01:00
2019-04-30 15:29:00 +02:00
2019-10-28 12:00:07 +01:00
2019-10-28 12:00:07 +01:00
2020-02-18 10:53:56 +01:00
2019-10-14 17:12:48 +02:00
2019-06-12 13:18:33 +02:00
2018-08-28 18:21:38 +02:00