[Devel] [PATCH hci-8.2 v2 1/7] dm-qcow2: always resubmit delayed ENOSPC requests in presuspend

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Tue Dec 1 04:08:24 MSK 2026


> qcow2_presuspend() skips resubmitting tgt->enospc_qios when
> timer_delete_sync_try() finds qcow2_enospc_timer() running, assuming
> the callback resubmits them. But the callback takes the list at its
> start, so a request delayed after that stays on the list, and suspend
> waits until the timer this request armed fires.
> 
> 2f9926b51be7 replaced del_timer_sync() there with
> timer_delete_sync_try() in passing.
> 
> Wait for the callback with timer_delete_sync() and resubmit the list
> unconditionally. wants_suspend is already set, so no request is
> delayed after that.
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-152175
> 
> Fixes: 2f9926b51be7 ("dm-qcow2: Rename MERGE_QIOS_MAX")
> 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.

Carry the trailer below into the next revision and Sashiko will not review this patch again.

Reviewed-by: Sashiko <no-reply at sashiko.virtuozzo.com>

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261130162456.1822406-1-alexander.ivanov@virtuozzo.com?part=1




More information about the Devel mailing list