[Devel] [PATCH hci-8.1 v12 08/12] dm-qcow2: fail the L2 table allocation request on L1 writeback error
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Tue Nov 10 11:01:28 MSK 2026
> A request that allocates an L2 table waits for the L1 writeback on the
> page wait list. If the writeback fails, the L1 entry is reverted and the
> request is dispatched again, so it allocates another L2 table and dirties
> L1 once more. With a persistent write error the request never completes.
>
> Queue the request on the wbd dependent list instead, like requests
> waiting for an L2 update. It is dispatched again after a successful
> writeback and ends with the error after a failed one.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-148171
> Feature: dm-qcow2: block device over QCOW2 files driver
> Fixes: 222b6f1291c1c ("dm-qcow2: Introduce driver to create block devices over QCOW2 files")
>
> Signed-off-by: Alexander Ivanov <alexander.ivanov at virtuozzo.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261110075140.1475607-1-alexander.ivanov@virtuozzo.com?part=8
More information about the Devel
mailing list