Vladimir Sementsov-Ogievskiy
f1bb39a8a5
block/copy-before-write: add on-cbw-error open parameter
...
Currently, behavior on copy-before-write operation failure is simple:
report error to the guest.
Let's implement alternative behavior: break the whole copy-before-write
process (and corresponding backup job or NBD client) but keep guest
working. It's needed if we consider guest stability as more important.
The realisation is simple: on copy-before-write failure we set
s->snapshot_ret and continue guest operations. s->snapshot_ret being
set will lead to all further snapshot API requests. Note that all
in-flight snapshot-API requests may still success: we do wait for them
on BREAK_SNAPSHOT-failure path in cbw_do_copy_before_write().
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
2022-06-28 10:20:31 +03:00
..
2022-06-24 17:07:06 +02:00
2022-06-24 17:07:06 +02:00
2020-12-11 17:52:39 +01:00
2021-10-05 18:56:41 +02:00
2022-03-04 18:18:26 +01:00
2022-06-24 17:07:06 +02:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:32 -05:00
2021-09-29 13:46:32 -05:00
2022-03-22 14:40:51 +04:00
2022-06-24 17:07:06 +02:00
2022-03-08 15:26:10 +00:00
2020-10-05 10:59:06 +01:00
2021-09-29 13:46:31 -05:00
2021-09-29 13:46:31 -05:00
2022-03-07 13:16:49 +00:00
2022-06-28 10:20:31 +03:00
2022-03-04 18:18:25 +01:00
2021-09-29 13:46:32 -05:00
2022-05-11 16:50:01 +02:00
2022-05-11 16:49:06 +02:00
2022-03-04 18:18:25 +01:00
2022-03-07 13:16:49 +00:00
2020-11-15 17:04:40 +01:00
2022-03-07 09:19:20 +01:00
2022-06-24 17:07:06 +02:00
2019-06-12 13:20:20 +02:00
2020-11-09 15:44:21 +01:00
2022-03-07 13:16:49 +00:00
2019-06-12 13:20:20 +02:00
2022-05-03 15:17:53 +04:00
2021-09-29 13:46:31 -05:00
2021-09-29 13:46:32 -05:00
2022-06-24 17:07:06 +02:00
2022-06-15 14:50:41 +01:00
2022-06-24 17:07:06 +02:00
2021-07-09 18:20:27 +02:00
2022-04-06 14:31:43 +02:00
2022-06-15 16:43:42 +01:00
2022-03-07 09:33:31 +01:00
2022-03-07 13:16:49 +00:00
2022-06-24 17:07:06 +02:00
2022-01-12 17:09:39 +00:00
2021-09-29 13:46:31 -05:00
2022-04-06 10:50:38 +02:00
2022-03-24 10:38:42 +00:00
2022-04-06 10:50:38 +02:00
2021-03-08 14:56:55 +01:00
2022-03-07 09:19:20 +01:00
2021-06-25 14:24:24 +03:00
2022-04-25 12:02:36 +02:00
2021-06-14 13:28:50 +01:00
2021-03-11 13:57:08 +00:00
2022-04-06 10:50:38 +02:00
2022-03-07 13:16:49 +00:00
2022-04-20 12:09:17 +02:00
2022-03-07 13:16:49 +00:00
2020-05-13 14:20:31 +02:00
2022-05-04 15:55:23 +02:00
2022-03-22 14:40:51 +04:00
2022-03-07 13:16:49 +00:00
2019-04-30 15:29:00 +02:00
2022-03-07 13:16:49 +00:00
2022-03-07 13:16:49 +00:00
2022-03-07 13:16:49 +00:00
2020-07-06 10:34:14 +02:00
2022-03-07 13:16:49 +00:00
2022-03-07 13:16:49 +00:00
2022-06-24 17:07:06 +02:00
2021-10-07 10:42:09 +02:00
2022-03-07 09:33:30 +01:00
2022-03-07 09:33:31 +01:00
2022-03-04 18:18:25 +01:00
2022-03-22 14:40:51 +04:00
2022-03-29 16:30:55 +02:00
2021-02-03 08:14:00 -06:00
2021-09-29 13:46:32 -05:00
2021-11-02 15:49:12 +01:00
2020-08-21 06:18:24 -04:00
2022-03-07 13:16:49 +00:00
2019-06-12 13:20:20 +02:00
2022-03-07 13:16:49 +00:00
2022-03-07 13:16:49 +00:00
2019-04-30 15:29:00 +02:00
2022-05-04 15:55:23 +02:00
2022-03-07 13:16:49 +00:00
2022-01-14 12:03:16 +01:00
2022-03-07 13:16:49 +00:00
2021-05-14 16:14:10 +02:00