> Held requests are retried every 20 seconds. QEMU pauses the VM on
> the IO_ERROR uevent, and the requests should be retried as soon as
> the VM is resumed, and dropped if the VM is destroyed: vhost-blk waits
> for all in-flight requests on release, so a request held while the
> error persists leaves QEMU in D state.
> 
> QEMU has no CAP_SYS_ADMIN, so libvirt sends the messages:
> 
>   resubmit   - resubmit the held requests now
>   fail_held  - fail the held requests and stop holding new ones
>                until resubmit or resume
> 
> fail_held has to be sticky: requests in flight when it arrives, a
> timer resubmission included, fail later and would otherwise be held
> again with the timer rearmed.
> 
> 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=6


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

Reply via email to