> QEMU disks have the werror/rerror policies: report the error to the
> guest, or pause the VM and retry the request on resume, either for
> ENOSPC only (enospc) or for any error (stop). A vhost-blk disk
> completes requests to the guest from the kernel, so the request has
> to be held in dm-qcow2 for QEMU to have a chance to pause the VM.
> 
> Accept an optional first table argument
> 
>   error_policy=<read>,<write>
> 
> where each policy is report, enospc or stop. Requests failed under
> the enospc or stop policy are held, reported and resubmitted like
> ENOSPC writes are now. All other table arguments are numeric fds, so
> the option cannot be confused with an image.
> 
> [ ... ]
> the table has to pass the policy back as the first argument.
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-152175
> Feature: dm-qcow2: block device over QCOW2 files driver
> Signed-off-by: Alexander Ivanov <[email protected]>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review ยท 
https://sashiko.vzint.dev/#/patchset/[email protected]?part=7


_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to