[Devel] [PATCH hci-8.2] dm-qcow2: fail an image write that returns 0 bytes instead of looping

Vasileios Almpanis vasileios.almpanis at virtuozzo.com
Wed Nov 25 12:24:26 MSK 2026


On Mon, 23 Nov 2026 16:38:17 +0100, Denis V. Lunev <den at openvz.org> wrote:
> data_rw_complete() ends a short image read that transferred nothing
> with -EIO, but resubmits such a write unchanged after
> WARN_ON_ONCE(qio->ret == 0). ext4, xfs and NFS never complete a direct
> write with 0 bytes, but FUSE does when the daemon opens the file with
> FOPEN_DIRECT_IO, async_dio is off and the daemon replies 0 bytes
> written. The dm-qcow2 worker then resubmits the same write forever,
> and the guest write never completes.
> 
> [...]

Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>

-- 
Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>


More information about the Devel mailing list