On 12/15/20 6:30 AM, Jiahui Cen wrote:
> Add a new error action 'retry' to support retry on errors.
>
> Signed-off-by: Jiahui Cen <[email protected]>
> Signed-off-by: Ying Fang <[email protected]>
> ---
> blockdev.c | 2 ++
> qapi/block-core.json | 4 ++--
> 2 files changed, 4 insertions(+), 2 deletions(-)
> +++ b/qapi/block-core.json
> @@ -1146,7 +1146,7 @@
> # Since: 1.3
> ##
> { 'enum': 'BlockdevOnError',
> - 'data': ['report', 'ignore', 'enospc', 'stop', 'auto'] }
> + 'data': ['report', 'ignore', 'enospc', 'stop', 'auto', 'retry'] }
Missing a documentation line that 'retry' was added in 6.0.
>
> ##
> # @MirrorSyncMode:
> @@ -4770,7 +4770,7 @@
> # Since: 2.1
> ##
> { 'enum': 'BlockErrorAction',
> - 'data': [ 'ignore', 'report', 'stop' ] }
> + 'data': [ 'ignore', 'report', 'stop', 'retry' ] }
Likewise.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org