OpenVZ / Virtuozzo kernel development (devel@openvz.org)
 help / color / mirror / Atom feed
From: no-reply@sashiko.virtuozzo.com
To: "Denis V. Lunev" <den@openvz.org>,
	andrey.zhadchenko@virtuozzo.com, alexander.ivanov@virtuozzo.com,
	vasileios.almpanis@virtuozzo.com
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2] dm-qcow2: fail an image write that returns 0 bytes instead of looping
Date: Mon, 23 Nov 2026 15:49:36 +0000	[thread overview]
Message-ID: <010701a209193384-3cb8123b-b8ca-4602-8002-b57d4a072a86-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261123153817.128600-1-den@openvz.org>

> From: Denis V. Lunev <den@openvz.org>
> 
> 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.
> 
> Fail a write that makes no progress with -EIO, as FUSE with async_dio
> and NFS already do for it, and drop the WARN_ON_ONCE() that no longer
> has a case to catch.
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-156109
> 
> Fixes: 222b6f1291c1 ("dm-qcow2: Introduce driver to create block devices over QCOW2 files")
> Feature: dm-qcow2: block device over QCOW2 files driver
> Signed-off-by: Denis V. Lunev <den@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@sashiko.virtuozzo.com>

-- 
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261123153817.128600-1-den@openvz.org?part=1


_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

  reply	other threads:[~2026-11-23 15:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 15:38 Denis V. Lunev
2026-11-23 15:49 ` no-reply [this message]
2026-11-25  8:15 ` Alexander Ivanov
2026-11-25  9:24 ` Vasileios Almpanis
2026-11-30 15:02 ` Konstantin Khorenko
2026-11-30 15:02 ` Konstantin Khorenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=010701a209193384-3cb8123b-b8ca-4602-8002-b57d4a072a86-000000@eu-central-1.amazonses.com \
    --to=no-reply@sashiko.virtuozzo.com \
    --cc=alexander.ivanov@virtuozzo.com \
    --cc=andrey.zhadchenko@virtuozzo.com \
    --cc=den@openvz.org \
    --cc=devel@openvz.org \
    --cc=vasileios.almpanis@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox