Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
To verify the bug, QE should test the blockdev-mirror command, which is introduced as a fix to this bug.
The command is going to be used in conjunction with blockdev-add.
Generally, all the existing drive-mirror cases apply to blockdev-mirror. In particular, what is wanted in this BZ is enabling zero detection feature by specifying "detect-zeroes=unmap" to the target image. The QMP pseudo command lines are:
# blockdev-add {'options': {'node-name': 'target0', 'driver': 'raw',
'detect-zeroes': 'unmap', 'file': {'driver': 'file', 'filename':
'/var/tmp/dest'}}}
blockdev-mirror {'device': 'd0', 'target': 'target0', 'sync': 'full'}
blockdev-add can't be used by libvirt upstream at this point. I've noted this in the parent BZ. Moving back to ASSIGNED to track backport of the new required patches.
We're withdrawing this from the z-stream because the fix is more complex than we anticipated. It'll be fixed in 7.3, but not in the z-stream (see bug #1232914).