> QEMU is to pause the VM when dm-qcow2 holds a failed request, but it > cannot use dm_table_event(): waiting for dm events needs dm ioctls > and CAP_SYS_ADMIN, which QEMU does not have. libvirt already passes > QEMU a NETLINK_KOBJECT_UEVENT socket to watch the vhost-blk disk for > RESIZE=1 change events. > > Send a change uevent on the dm disk with > > IO_ERROR=1 > IO_ERROR_OP=read|write > IO_ERROR_ERRNO=<positive errno> > > when the held list turns non-empty. A periodic retry that fails > again repopulates the list, so the event is repeated while the error > persists and a lost netlink message is not fatal. Only ENOSPC writes > [ ... ] > "event_io_error <op> <errno>". > > https://virtuozzo.atlassian.net/browse/VSTOR-152175 > Feature: dm-qcow2: block device over QCOW2 files driver > Signed-off-by: Alexander Ivanov <[email protected]>
Sashiko has reviewed this patch and found no issues. -- Sashiko AI review ยท https://sashiko.vzint.dev/#/patchset/[email protected]?part=5 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
