OpenVZ / Virtuozzo kernel development (devel@openvz.org)
 help / color / mirror / Atom feed
From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 0/7] dm-qcow2, dm-ploop: report ENOSPC at once for vhost-blk disks
Date: Mon, 30 Nov 2026 17:27:22 +0100	[thread overview]
Message-ID: <179605604220.1088513.17831597960209489212.b4-reply@b4> (raw)
In-Reply-To: <10dddd62-d41d-40c7-9870-688355abb6a5@virtuozzo.com>

On 2026-11-30 10:14 +0100, Alexander Ivanov wrote:
> 
> On 11/27/26 12:51, Konstantin Khorenko wrote:
> > I won't apply this version, please send v2 with the changes below.
> >
> > On Fri, 27 Nov 2026 12:15:43 +0100, Alexander Ivanov wrote:
> >> table argument that turns their delay off. Containers keep the delay.
> > 1. Cover letter: say that report_enospc without the vhost-blk hold
> >     policy gives the guest an I/O error on ENOSPC, and name the vhost-blk
> >     series by its subject: it is already posted.
> > 2. Cover letter: name the ploop.ovz, QEMU and libvirt series this needs.
> > 3. Patch 6: drop the 's' status flag.
> Why we shouldn't do it similar to ploop?

You are right, keep it. 's' means the same as in dm-ploop
(518fb63ec6ffc): a request is delayed on ENOSPC. Containers keep the
delay and will show it, and the ploop.ovz PR looks only for 'r'.
Item 3 is withdrawn.

> > 4. Patches 6 and 7: say that the target version goes to 1.1.0.
> It's apparently what we want.

Yes, the bump is right, I only ask to mention it in the commit
messages.

> > 5. Patch 6: name the reloads that need the argument, and say that the
> >     status line of every qcow2 device changes.
> Added a note about it to the commit message.
> > 6. Patch 3: name the vstorage kio read path, and say why 12ab90fbc953
> >     kept the WARN on reads.
> > 7. Patch 2: arm the timer next to list_add_tail().
> Fixed.
> >> Patches 6-7 add the report_enospc table argument to dm-qcow2 and
> >> dm-ploop. Userspace passes it with every table it loads, and the
> >> table status shows it.
> > Items 1 and 2. Today ploop.ovz does not pass it: dm_reload_imglist()
> > builds the table from the fds only, so a snapshot, a grow, a merge or a
> > replace brings the delay back and the VM hangs again. The ploop.ovz
> > branch for VSTOR-152175 still sends the withdrawn error_policy=, which
> > this kernel rejects. So "passes" is a requirement on series that are
> > not posted yet; say so and name them.
> The PR was updated.

Thanks, dm_reload_imglist() keeps report_enospc now. Please name that
PR and the QEMU and libvirt series in the v2 cover letter, together
with items 1 and 6 and the notes on dm-ploop presuspend and on the
20 seconds retry, which are still open.

> >> Patches 4-5 fix the same in dm-ploop:
> > dm-ploop needs no presuspend fix, ploop_presuspend() already resubmits
> > the delayed requests unconditionally. Say that, so nobody looks for the
> > missing third patch.
> >
> >> dm-qcow2 and dm-ploop delay a request that fails with ENOSPC, retry
> >> it every 20 seconds and report the error with a dm event.
> > Before patches 2 and 4 every new failure rearms the timer, so the retry
> > is not every 20 seconds; patches 2 and 4 make it so.
> >
> _______________________________________________
> Devel mailing list
> Devel@openvz.org
> https://lists.openvz.org/mailman/listinfo/devel
> 
> 


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

      reply	other threads:[~2026-11-30 16:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 11:15 Alexander Ivanov
2026-11-27 11:15 ` [Devel] [PATCH hci-8.2 1/7] dm-qcow2: always resubmit delayed ENOSPC requests in presuspend Alexander Ivanov
2026-11-27 11:15 ` [Devel] [PATCH hci-8.2 2/7] dm-qcow2: arm the ENOSPC timer only for the first delayed request Alexander Ivanov
2026-11-27 11:51   ` Konstantin Khorenko
2026-11-27 11:15 ` [Devel] [PATCH hci-8.2 3/7] dm-qcow2: drop the WARN on a read failing with ENOSPC Alexander Ivanov
2026-11-27 11:51   ` Konstantin Khorenko
2026-11-27 11:15 ` [Devel] [PATCH hci-8.2 4/7] dm-ploop: arm the ENOSPC timer only for the first delayed request Alexander Ivanov
2026-11-27 11:15 ` [Devel] [PATCH hci-8.2 5/7] dm-ploop: drop the WARN on a non-write request failing with ENOSPC Alexander Ivanov
2026-11-27 11:15 ` [Devel] [PATCH hci-8.2 6/7] dm-qcow2: add the report_enospc table argument Alexander Ivanov
2026-11-27 11:51   ` Konstantin Khorenko
2026-11-27 11:15 ` [Devel] [PATCH hci-8.2 7/7] dm-ploop: " Alexander Ivanov
2026-11-27 11:51   ` Konstantin Khorenko
2026-11-27 11:51 ` [Devel] [PATCH hci-8.2 0/7] dm-qcow2, dm-ploop: report ENOSPC at once for vhost-blk disks Konstantin Khorenko
2026-11-30  9:14   ` Alexander Ivanov
2026-11-30 16:27     ` Konstantin Khorenko [this message]

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=179605604220.1088513.17831597960209489212.b4-reply@b4 \
    --to=khorenko@virtuozzo.com \
    --cc=alexander.ivanov@virtuozzo.com \
    --cc=devel@openvz.org \
    /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