[Devel] [PATCH hci-8.1 v2 8/9] drivers/md/dm-qcow2: requeue held requests on a noflush suspend

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Tue Nov 17 13:37:03 MSK 2026


> A request failed under the enospc or stop policy cannot stay held
> across a suspend: the suspend waits for it to complete. So presuspend
> retries the held requests once, and a request that fails again is
> completed with its error. A table reload or a snapshot taken while the
> VM is paused on a held request then delivers the error that the policy
> was meant to keep from the guest.
> 
> On a noflush suspend, requeue such a request to the dm queue instead.
> It is dispatched through the new table on resume and is held again if
> the error persists. This follows dm-mpath, which requeues on a noflush
> suspend and fails the I/O queued for no paths on a flush suspend.
> 
> ploop suspends with flags 0, a flush suspend, for a snapshot and a
> resize in ploop_suspend_device(), so it gets the requeue only with the
> ploop.ovz change "lib: suspend unpartitioned dm-qcow2 devices with
> [ ... ]
> survive a table reload. Userspace sends it again after resume.
> 
> 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/20261117101026.3071579-1-alexander.ivanov@virtuozzo.com?part=8




More information about the Devel mailing list