[Devel] [PATCH hci-8.2 2/2] dm-qcow2: end the popped qio when decompression setup fails
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Thu Nov 19 17:42:19 MSK 2026
> From: Denis V. Lunev <den at openvz.org>
>
> process_compressed_read() pops a qio and only then allocates the
> decompression buffer and, for zstd, sets up the decompression context.
> If either fails, it ends the qios left on the list but not the popped one,
> which never completes: a read or COW of a compressed cluster hangs,
> and so does a backward merge that waits for it.
>
> Put the popped qio back on the list before ending them.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-156064
>
> Fixes: e6bcdf575c18 ("dm-qcow2: support mixed compression images")
> Feature: dm-qcow2: block device over QCOW2 files driver
> Signed-off-by: Denis V. Lunev <den at openvz.org>
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/20261119143026.998715-2-den@openvz.org?part=2
More information about the Devel
mailing list