[Devel] [PATCH hci-8.1 v3 6/9] drivers/md/dm-qcow2: add the resubmit and fail_held messages
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Tue Nov 17 13:54:58 MSK 2026
> 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 <alexander.ivanov at virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261117104329.3079812-1-alexander.ivanov@virtuozzo.com?part=6
More information about the Devel
mailing list