From: no-reply@sashiko.virtuozzo.com
To: Alexander Ivanov <alexander.ivanov@virtuozzo.com>,
andrey.zhadchenko@virtuozzo.com
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 v2 7/7] dm-ploop: add the report_enospc table argument
Date: Tue, 1 Dec 2026 01:15:25 +0000 [thread overview]
Message-ID: <010701a22f2bbcb7-8e22c531-d039-4338-80f7-dd39fb48bdb6-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261130162456.1822406-8-alexander.ivanov@virtuozzo.com>
> A request failing with ENOSPC is delayed in dm-ploop and resubmitted
> every 20 seconds, and the error is reported with a dm event. A
> vhost-blk disk is controlled by QEMU, which cannot wait for dm events
> or send dm messages without CAP_SYS_ADMIN. So for a VM the request
> just hangs until space is freed, and the VM is never paused.
>
> vhost-blk is to hold a request failed with ENOSPC itself and let QEMU
> pause the VM and resubmit it on resume. That needs the error to reach
> vhost-blk.
>
> With the optional table argument report_enospc, such a request is
> completed with BLK_STS_NOSPC at once, and no dm event is raised.
> Without it nothing changes, which containers rely on.
>
> A flag set by a message would be lost on every table reload, as the
> reload creates a new target. So it is a table argument, which
> userspace has to pass with every table it loads: on a snapshot, a
> grow, a merge, a replace and a migration.
>
> The table status shows it as the 'r' flag, which userspace reads back
> to pass report_enospc again when it reloads the table. The target
> version goes to 1.1.0, as an older kernel takes the argument for a
> delta fd and fails the table load with EINVAL.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-152175
> Feature: dm-ploop: ploop target driver
> Signed-off-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
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/20261130162456.1822406-1-alexander.ivanov@virtuozzo.com?part=7
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
prev parent reply other threads:[~2026-12-01 1:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 16:24 [Devel] [PATCH hci-8.2 v2 0/7] dm-qcow2, dm-ploop: report ENOSPC at once for vhost-blk disks Alexander Ivanov
2026-11-30 16:24 ` [Devel] [PATCH hci-8.2 v2 1/7] dm-qcow2: always resubmit delayed ENOSPC requests in presuspend Alexander Ivanov
2026-12-01 1:08 ` no-reply
2026-11-30 16:24 ` [Devel] [PATCH hci-8.2 v2 2/7] dm-qcow2: arm the ENOSPC timer only for the first delayed request Alexander Ivanov
2026-12-01 1:09 ` no-reply
2026-11-30 16:24 ` [Devel] [PATCH hci-8.2 v2 3/7] dm-qcow2: drop the WARN on a read failing with ENOSPC Alexander Ivanov
2026-12-01 1:10 ` no-reply
2026-11-30 16:24 ` [Devel] [PATCH hci-8.2 v2 4/7] dm-ploop: arm the ENOSPC timer only for the first delayed request Alexander Ivanov
2026-12-01 1:11 ` no-reply
2026-11-30 16:24 ` [Devel] [PATCH hci-8.2 v2 5/7] dm-ploop: drop the WARN on a non-write request failing with ENOSPC Alexander Ivanov
2026-12-01 1:11 ` no-reply
2026-11-30 16:24 ` [Devel] [PATCH hci-8.2 v2 6/7] dm-qcow2: add the report_enospc table argument Alexander Ivanov
2026-12-01 1:14 ` no-reply
2026-12-01 8:07 ` Alexander Ivanov
2026-11-30 16:24 ` [Devel] [PATCH hci-8.2 v2 7/7] dm-ploop: " Alexander Ivanov
2026-12-01 1:15 ` no-reply [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=010701a22f2bbcb7-8e22c531-d039-4338-80f7-dd39fb48bdb6-000000@eu-central-1.amazonses.com \
--to=no-reply@sashiko.virtuozzo.com \
--cc=alexander.ivanov@virtuozzo.com \
--cc=andrey.zhadchenko@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.