> 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. > > The noflush mode is recorded in presuspend rather than read with > dm_noflush_suspending(): an interrupted suspend clears > DMF_NOFLUSH_SUSPENDING and restarts the queue before presuspend_undo > [ ... ] > 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 <[email protected]>
Sashiko has reviewed this patch and found no issues. -- Sashiko AI review ยท https://sashiko.vzint.dev/#/patchset/[email protected]?part=8 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
