[Devel] [PATCH hci-8.2 0/7] dm-qcow2, dm-ploop: report ENOSPC at once for vhost-blk disks
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Nov 27 14:51:34 MSK 2026
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.
4. Patches 6 and 7: say that the target version goes to 1.1.0.
5. Patch 6: name the reloads that need the argument, and say that the
status line of every qcow2 device changes.
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().
> 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.
> 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.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list