Alberto Garcia
808b27d464
quorum: Forbid adding children in blkverify mode
...
The blkverify mode of Quorum only works when the number of children is
exactly two, so any attempt to add a new one must return an error.
quorum_del_child() on the other hand doesn't need any additional check
because decreasing the number of children would make it go under the
vote threshold.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-11-05 15:09:54 +01:00
..
2018-08-31 16:28:33 +02:00
2018-07-28 09:09:58 +02:00
2018-07-10 16:01:52 +02:00
2018-09-25 17:26:18 +02:00
2018-07-28 09:09:58 +02:00
2018-11-05 15:09:54 +01:00
2018-09-25 15:31:15 +02:00
2018-08-15 12:50:39 +02:00
2018-08-31 16:28:33 +02:00
2018-08-15 12:50:39 +02:00
2018-09-24 23:46:05 -04:00
2018-10-29 16:23:17 -04:00
2018-10-01 12:51:12 +02:00
2018-07-10 16:01:51 +02:00
2018-07-23 16:50:43 +02:00
2018-09-25 15:50:15 +02:00
2018-10-19 14:51:34 +02:00
2018-09-25 15:50:15 +02:00
2018-09-25 15:31:15 +02:00
2018-07-28 09:09:58 +02:00
2018-08-15 12:50:39 +02:00
2018-10-12 09:46:14 +08:00
2018-08-15 12:50:39 +02:00
2018-11-05 15:09:54 +01:00
2018-07-10 17:28:29 +01:00
2018-11-05 15:09:54 +01:00
2018-10-29 16:23:15 -04:00
2018-11-05 15:09:54 +01:00
2018-10-19 14:51:34 +02:00
2018-11-05 15:09:54 +01:00
2018-08-15 12:50:39 +02:00
2018-10-19 14:51:34 +02:00
2018-10-19 14:51:34 +02:00
2018-08-15 12:50:39 +02:00
2018-09-25 15:31:15 +02:00
2018-08-15 12:50:39 +02:00
2018-07-10 16:01:52 +02:00
2018-07-10 16:01:52 +02:00
2018-11-05 15:09:54 +01:00
2018-11-05 15:09:54 +01:00
2018-11-05 15:09:54 +01:00
2018-11-05 15:09:54 +01:00
2018-11-05 15:09:54 +01:00
2018-09-26 10:47:18 +08:00
2018-11-05 15:09:54 +01:00
2018-11-05 15:09:54 +01:00
2018-08-28 18:21:38 +02:00